Results

By type

          mariadb 22:42:10.48 
mariadb 22:42:10.48 Welcome to the Bitnami mariadb-galera container
mariadb 22:42:10.49 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mariadb-galera
mariadb 22:42:10.50 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mariadb-galera/issues
mariadb 22:42:10.50 
mariadb 22:42:10.51 INFO  ==> ** Starting MariaDB setup **
mariadb 22:42:10.56 INFO  ==> Validating settings in MYSQL_*/MARIADB_* env vars
mariadb 22:42:10.66 INFO  ==> Initializing mariadb database
mariadb 22:42:10.67 DEBUG ==> Ensuring expected directories/files exist
mariadb 22:42:10.71 INFO  ==> Updating 'my.cnf' with custom configuration
mariadb 22:42:10.72 INFO  ==> Setting user option
mariadb 22:42:10.73 DEBUG ==> Setting user to 'my-user' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 22:42:10.75 INFO  ==> Setting wsrep_node_name option
mariadb 22:42:10.75 DEBUG ==> Setting wsrep_node_name to 'dev-mariadb-galera-2' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 22:42:10.77 INFO  ==> Setting wsrep_node_address option
mariadb 22:42:10.77 DEBUG ==> Setting wsrep_node_address to '10.242.150.11' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 22:42:10.81 INFO  ==> Setting wsrep_cluster_address option
mariadb 22:42:10.82 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:42:10.83 INFO  ==> Setting wsrep_sst_auth option
mariadb 22:42:10.83 DEBUG ==> Setting wsrep_sst_auth to 'mariabackup:AE39hEL5' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 22:42:10.88 INFO  ==> ** MariaDB setup finished! **

mariadb 22:42:10.95 INFO  ==> ** Starting MariaDB **
mariadb 22:42:10.96 INFO  ==> Setting previous boot
2021-07-04 22:42:11 0 [Warning] WSREP: option --wsrep-causal-reads is deprecated
2021-07-04 22:42:11 0 [Warning] WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0. WSREP_SYNC_WAIT_BEFORE_READ is on
2021-07-04 22:42:11 0 [Note] /opt/bitnami/mariadb/sbin/mysqld (mysqld 10.5.8-MariaDB-log) starting as process 1 ...
2021-07-04 22:42:11 0 [Note] WSREP: Loading provider /opt/bitnami/mariadb/lib/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
2021-07-04 22:42:11 0 [Note] WSREP: wsrep_load(): loading provider library '/opt/bitnami/mariadb/lib/libgalera_smm.so'
2021-07-04 22:42:11 0 [Note] WSREP: wsrep_load(): Galera 4.7(rXXXX) by Codership Oy  loaded successfully.
2021-07-04 22:42:11 0 [Note] WSREP: CRC-32C: using 64-bit x86 acceleration.
2021-07-04 22:42:11 0 [Warning] WSREP: Could not open state file for reading: '/bitnami/mariadb/data//grastate.dat'
2021-07-04 22:42:11 0 [Note] WSREP: Found saved state: 00000000-0000-0000-0000-000000000000:-1, safe_to_bootstrap: 1
2021-07-04 22:42:11 0 [Note] WSREP: GCache DEBUG: opened preamble:
Version: 0
UUID: 00000000-0000-0000-0000-000000000000
Seqno: -1 - -1
Offset: -1
Synced: 0
2021-07-04 22:42:11 0 [Note] WSREP: Skipped GCache ring buffer recovery: could not determine history UUID.
2021-07-04 22:42:11 0 [Note] WSREP: Passing config to GCS: base_dir = /bitnami/mariadb/data/; base_host = 10.242.150.11; 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-07-04 22:42:11 0 [Note] WSREP: Start replication
2021-07-04 22:42:11 0 [Note] WSREP: Connecting with bootstrap option: 0
2021-07-04 22:42:11 0 [Note] WSREP: Setting GCS initial position to 00000000-0000-0000-0000-000000000000:-1
2021-07-04 22:42:11 0 [Note] WSREP: protonet asio version 0
2021-07-04 22:42:11 0 [Note] WSREP: Using CRC-32C for message checksums.
2021-07-04 22:42:11 0 [Note] WSREP: backend: asio
2021-07-04 22:42:11 0 [Note] WSREP: gcomm thread scheduling priority set to other:0 
2021-07-04 22:42:11 0 [Warning] WSREP: access file(/bitnami/mariadb/data//gvwstate.dat) failed(No such file or directory)
2021-07-04 22:42:11 0 [Note] WSREP: restore pc from disk failed
2021-07-04 22:42:11 0 [Note] WSREP: GMCast version 0
2021-07-04 22:42:11 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567
2021-07-04 22:42:11 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') multicast: , ttl: 1
2021-07-04 22:42:11 0 [Note] WSREP: EVS version 1
2021-07-04 22:42:11 0 [Note] WSREP: gcomm: connecting to group 'galera', peer 'mariadb-galera-headless.onap.svc.cluster.local:'
2021-07-04 22:42:11 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to f639962f-bc8b tcp://10.242.10.84:4567
2021-07-04 22:42:11 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: tcp://10.242.8.206:4567 
2021-07-04 22:42:11 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 22:42:11 0 [Note] WSREP: EVS version upgrade 0 -> 1
2021-07-04 22:42:11 0 [Note] WSREP: declaring d1258283-a4e3 at tcp://10.242.8.206:4567 stable
2021-07-04 22:42:11 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 22:42:11 0 [Note] WSREP: PC protocol upgrade 0 -> 1
2021-07-04 22:42:11 0 [Note] WSREP: Node d1258283-a4e3 state prim
2021-07-04 22:42:11 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,3) memb {
	11feeaec-b6ba,0
	d1258283-a4e3,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
})
2021-07-04 22:42:11 0 [Note] WSREP: save pc into disk
2021-07-04 22:42:12 0 [Note] WSREP: gcomm: connected
2021-07-04 22:42:12 0 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636
2021-07-04 22:42:12 0 [Note] WSREP: Shifting CLOSED -> OPEN (TO: 0)
2021-07-04 22:42:12 0 [Note] WSREP: Opened channel 'galera'
2021-07-04 22:42:12 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 3
2021-07-04 22:42:12 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 12982e5d-dd19-11eb-b1b8-cbaf653c51ad
2021-07-04 22:42:12 2 [Note] WSREP: Starting rollbacker thread 2
2021-07-04 22:42:12 1 [Note] WSREP: Starting applier thread 1
2021-07-04 22:42:12 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 12982e5d-dd19-11eb-b1b8-cbaf653c51ad
2021-07-04 22:42:12 0 [Note] WSREP: STATE EXCHANGE: got state msg: 12982e5d-dd19-11eb-b1b8-cbaf653c51ad from 0 (dev-mariadb-galera-2)
2021-07-04 22:42:12 0 [Note] WSREP: STATE EXCHANGE: got state msg: 12982e5d-dd19-11eb-b1b8-cbaf653c51ad from 1 (dev-mariadb-galera-0)
2021-07-04 22:42:12 0 [Note] WSREP: STATE EXCHANGE: got state msg: 12982e5d-dd19-11eb-b1b8-cbaf653c51ad from 2 (dev-mariadb-galera-1)
2021-07-04 22:42:12 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 = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 22:42:12 0 [Note] WSREP: Flow-control interval: [28, 28]
2021-07-04 22:42:12 0 [Note] WSREP: Shifting OPEN -> PRIMARY (TO: 15)
2021-07-04 22:42:12 1 [Note] WSREP: ####### processing CC 15, local, ordered
2021-07-04 22:42:12 1 [Note] WSREP: Process first view: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5 my uuid: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 22:42:12 1 [Note] WSREP: Server dev-mariadb-galera-2 connected to cluster at position cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:15 with ID 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 22:42:12 1 [Note] WSREP: Server status change disconnected -> connected
2021-07-04 22:42:12 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 22:42:12 1 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 22:42:12 1 [Note] WSREP: Cert index reset to 00000000-0000-0000-0000-000000000000:-1 (proto: 10), state transfer needed: yes
2021-07-04 22:42:12 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 22:42:12 1 [Note] WSREP: ####### Assign initial position for certification: 00000000-0000-0000-0000-000000000000:-1, protocol version: -1
2021-07-04 22:42:12 1 [Note] WSREP: State transfer required: 
	Group state: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:15
	Local state: 00000000-0000-0000-0000-000000000000:-1
2021-07-04 22:42:12 1 [Note] WSREP: Server status change connected -> joiner
2021-07-04 22:42:12 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 22:42:12 0 [Note] WSREP: Joiner monitor thread started to monitor
2021-07-04 22:42:12 0 [Note] WSREP: Running: 'wsrep_sst_mariabackup --role 'joiner' --address '10.242.150.11' --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'
WSREP_SST: [INFO] Streaming with xbstream (20210704 22:42:12.593)
WSREP_SST: [INFO] Using socat as streamer (20210704 22:42:12.600)
WSREP_SST: [INFO] Evaluating timeout -k 310 300 socat -u TCP-LISTEN:4444,reuseaddr stdio | mbstream -x; RC=( ${PIPESTATUS[@]} ) (20210704 22:42:12.704)
2021-07-04 22:42:12 1 [Note] WSREP: Prepared SST request: mariabackup|10.242.150.11:4444/xtrabackup_sst//1
2021-07-04 22:42:12 1 [Note] WSREP: ####### IST uuid:00000000-0000-0000-0000-000000000000 f: 0, l: 15, STRv: 3
2021-07-04 22:42:12 1 [Note] WSREP: IST receiver addr using tcp://10.242.150.11:4568
2021-07-04 22:42:12 1 [Note] WSREP: Prepared IST receiver for 0-15, listening at: tcp://10.242.150.11:4568
2021-07-04 22:42:12 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.
2021-07-04 22:42:12 0 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 15)
2021-07-04 22:42:12 1 [Note] WSREP: Requesting state transfer: success, donor: 1
2021-07-04 22:42:12 1 [Note] WSREP: Resetting GCache seqno map due to different histories.
2021-07-04 22:42:12 1 [Note] WSREP: GCache history reset: 00000000-0000-0000-0000-000000000000:0 -> cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:15
WSREP_SST: [INFO] Proceeding with SST (20210704 22:42:13.575)
WSREP_SST: [INFO] Evaluating socat -u TCP-LISTEN:4444,reuseaddr stdio | mbstream -x; RC=( ${PIPESTATUS[@]} ) (20210704 22:42:13.577)
WSREP_SST: [INFO] Cleaning the existing datadir and innodb-data/log directories (20210704 22:42:13.582)
WSREP_SST: [INFO] Waiting for SST streaming to complete! (20210704 22:42:13.640)
2021-07-04 22:42:14 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
2021-07-04 22:42:26 0 [Note] WSREP: 1.0 (dev-mariadb-galera-0): State transfer to 0.0 (dev-mariadb-galera-2) complete.
2021-07-04 22:42:26 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-0) synced with group.
WSREP_SST: [INFO] Preparing the backup at /bitnami/mariadb/data//.sst (20210704 22:42:26.332)
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 (20210704 22:42:26.344)
WSREP_SST: [INFO] Moving the backup to /bitnami/mariadb/data/ (20210704 22:42:27.983)
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 (20210704 22:42:27.992)
WSREP_SST: [INFO] Move successful, removing /bitnami/mariadb/data//.sst (20210704 22:42:28.418)
WSREP_SST: [INFO] Galera co-ords from recovery: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:15 (20210704 22:42:28.463)
WSREP_SST: [INFO] Total time on joiner: 0 seconds (20210704 22:42:28.474)
WSREP_SST: [INFO] Removing the sst_in_progress file (20210704 22:42:28.485)
2021-07-04 22:42:28 3 [Note] WSREP: SST received
2021-07-04 22:42:28 3 [Note] WSREP: Server status change joiner -> initializing
2021-07-04 22:42:28 3 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 22:42:28 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-07-04 22:42:28 0 [Warning] The parameter innodb_log_files_in_group is deprecated and has no effect.
2021-07-04 22:42:28 0 [Note] InnoDB: Using Linux native AIO
2021-07-04 22:42:28 0 [Note] InnoDB: Uses event mutexes
2021-07-04 22:42:28 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-07-04 22:42:28 0 [Note] InnoDB: Number of pools: 1
2021-07-04 22:42:28 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2021-07-04 22:42:28 0 [Note] mysqld: O_TMPFILE is not supported on /opt/bitnami/mariadb/tmp (disabling future attempts)
2021-07-04 22:42:28 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728
2021-07-04 22:42:28 0 [Note] InnoDB: Completed initialization of buffer pool
2021-07-04 22:42:28 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-07-04 22:42:28 0 [Note] InnoDB: Setting log file ./ib_logfile101 size to 134217728 bytes
2021-07-04 22:42:28 0 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2021-07-04 22:42:28 0 [Note] InnoDB: New log file created, LSN=82759
2021-07-04 22:42:28 0 [Note] InnoDB: 128 rollback segments are active.
2021-07-04 22:42:28 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-07-04 22:42:28 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-07-04 22:42:28 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2021-07-04 22:42:28 0 [Note] InnoDB: 10.5.8 started; log sequence number 0; transaction id 86
2021-07-04 22:42:28 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-07-04 22:42: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-07-04 22:42:28 0 [Note] Recovering after a crash using mysql-bin
2021-07-04 22:42:28 0 [Note] Starting crash recovery...
2021-07-04 22:42:28 0 [Note] Crash recovery finished.
2021-07-04 22:42:28 0 [Note] InnoDB: Buffer pool(s) load completed at 210704 22:42:28
2021-07-04 22:42:28 0 [Note] Server socket created on IP: '0.0.0.0'.
2021-07-04 22:42:28 0 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-07-04 22:42:29 0 [Note] WSREP: wsrep_init_schema_and_SR 0x0
2021-07-04 22:42:29 0 [Note] WSREP: Server initialized
2021-07-04 22:42:29 0 [Note] WSREP: Server status change initializing -> initialized
2021-07-04 22:42:29 0 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 22:42:29 3 [Note] WSREP: Server status change initialized -> joined
2021-07-04 22:42:29 3 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 22:42:29 3 [Note] WSREP: Recovered position from storage: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:15
2021-07-04 22:42:29 7 [Note] WSREP: Starting applier thread 7
2021-07-04 22:42:29 8 [Note] WSREP: Starting applier thread 8
2021-07-04 22:42:29 6 [Note] WSREP: Starting applier thread 6
2021-07-04 22:42:29 3 [Note] WSREP: Recovered view from SST:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:15
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(3):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: d1258283-dd18-11eb-a4e3-2fff58d4b81d, dev-mariadb-galera-0
	2: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1

2021-07-04 22:42:29 3 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 22:42:29 0 [Note] Reading of all Master_info entries succeeded
2021-07-04 22:42:29 0 [Note] Added new Master_info '' to hash table
2021-07-04 22:42:29 11 [Note] WSREP: Recovered cluster id cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 22:42:29 0 [Note] /opt/bitnami/mariadb/sbin/mysqld: ready for connections.
Version: '10.5.8-MariaDB-log'  socket: '/opt/bitnami/mariadb/tmp/mysql.sock'  port: 3306  Source distribution
2021-07-04 22:42:29 3 [Note] WSREP: SST received: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:15
2021-07-04 22:42:29 0 [Note] WSREP: Joiner monitor thread ended with total time 17 sec
2021-07-04 22:42:29 1 [Note] WSREP: Installed new state from SST: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:15
2021-07-04 22:42:29 1 [Note] WSREP: Cert. index preload up to 15
2021-07-04 22:42:29 0 [Note] WSREP: ####### IST applying starts with 16
2021-07-04 22:42:29 0 [Note] WSREP: ####### IST current seqno initialized to 15
2021-07-04 22:42:29 0 [Note] WSREP: Receiving IST...  0.0% (0/1 events) complete.
2021-07-04 22:42:29 0 [Note] WSREP: IST preload starting at 15
2021-07-04 22:42:29 0 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 22:42:29 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 22:42:29 0 [Note] WSREP: ####### Assign initial position for certification: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:14, protocol version: 5
2021-07-04 22:42:29 0 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 22:42:29 0 [Note] WSREP: ####### Adjusting cert position: 14 -> 15
2021-07-04 22:42:29 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 22:42:29 0 [Note] WSREP: Lowest cert index boundary for CC from preload: 15
2021-07-04 22:42:29 0 [Note] WSREP: Min available from gcache for CC from preload: 15
2021-07-04 22:42:29 0 [Note] WSREP: Receiving IST...100.0% (1/1 events) complete.
2021-07-04 22:42:29 1 [Note] WSREP: IST received: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:15
2021-07-04 22:42:29 1 [Note] WSREP: Lowest cert index boundary for CC from sst: 15
2021-07-04 22:42:29 1 [Note] WSREP: Min available from gcache for CC from sst: 15
2021-07-04 22:42:29 0 [Note] WSREP: 0.0 (dev-mariadb-galera-2): State transfer from 1.0 (dev-mariadb-galera-0) complete.
2021-07-04 22:42:29 0 [Note] WSREP: Shifting JOINER -> JOINED (TO: 15)
2021-07-04 22:42:29 0 [Note] WSREP: Member 0.0 (dev-mariadb-galera-2) synced with group.
2021-07-04 22:42:29 0 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 15)
2021-07-04 22:42:29 1 [Note] WSREP: Server dev-mariadb-galera-2 synced with group
2021-07-04 22:42:29 1 [Note] WSREP: Server status change joined -> synced
2021-07-04 22:42:29 1 [Note] WSREP: Synchronized with group, ready for connections
2021-07-04 22:42:29 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
# Time: 210704 22:42:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 12  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438554;
SELECT
		  page_size, compress_ops, 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.000110  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438554;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:42:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 16  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438564;
SELECT
		  page_size, compress_ops, 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.000128  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438564;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:42:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 18  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438571;
SELECT
                  page_size, buffer_pool_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.000153  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438571;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:42:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 20  Schema:   QC_hit: No
# Query_time: 0.000690  Lock_time: 0.000363  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438574;
SELECT
		  page_size, compress_ops, 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.000203  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438574;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:43:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 22  Schema:   QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438581;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 22  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438581;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:43:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 24  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438584;
SELECT
		  page_size, compress_ops, 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.000199  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438584;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:43:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 28  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438591;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 28  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438591;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:43:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 30  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438594;
SELECT
		  page_size, compress_ops, 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.000171  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438594;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:43:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 32  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438601;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 32  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438601;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:43:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 34  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438604;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 34  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438604;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:43:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 36  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438611;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 36  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=1625438611;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:43:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 38  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438614;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 38  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438614;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:43:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 40  Schema:   QC_hit: No
# Query_time: 0.002230  Lock_time: 0.002086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438621;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 40  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438621;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:43:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 42  Schema:   QC_hit: No
# Query_time: 0.000766  Lock_time: 0.000698  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438624;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 42  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438624;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:43:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 44  Schema:   QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000385  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438631;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 44  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438631;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:43:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 46  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438634;
SELECT
                  page_size, buffer_pool_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.000132  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438634;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:44:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 48  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438641;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 48  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438641;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:44:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 50  Schema:   QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438644;
SELECT
		  page_size, compress_ops, 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.000102  Lock_time: 0.000066  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438644;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:44:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 56  Schema:   QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000340  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438651;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 56  Schema:   QC_hit: No
# Query_time: 0.000103  Lock_time: 0.000067  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438651;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:44:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 58  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438654;
SELECT
                  page_size, buffer_pool_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.000231  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438654;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:44:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 60  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438661;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 60  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438661;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:44:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 62  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438664;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 62  Schema:   QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438664;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:44:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 66  Schema:   QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000262  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438671;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 66  Schema:   QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000380  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438671;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:44:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 68  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438674;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 68  Schema:   QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438674;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:44:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 70  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438681;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 70  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438681;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:44:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 72  Schema:   QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000326  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438684;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 72  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438684;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:44:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 79  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438691;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 79  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438691;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:44:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 81  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438694;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 81  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438694;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:45:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 83  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438701;
SELECT
		  page_size, compress_ops, 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.000154  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438701;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:45:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 85  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438704;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 85  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438704;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:45:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 87  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438711;
SELECT
		  page_size, compress_ops, 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.000137  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438711;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.009716  Lock_time: 0.009426  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 130
use ejbca;
SET timestamp=1625438711;
select cadata0_.cAId as col_0_0_, cadata0_.name as col_1_0_ from CAData cadata0_;
# Time: 210704 22:45:12
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 594
SET timestamp=1625438712;
select cadata0_.cAId as cAId1_14_, cadata0_.data as data2_14_, cadata0_.expireTime as expireTi3_14_, cadata0_.name as name4_14_, cadata0_.rowProtection as rowProte5_14_, cadata0_.rowVersion as rowVersi6_14_, cadata0_.status as status7_14_, cadata0_.subjectDN as subjectD8_14_, cadata0_.updateTime as updateTi9_14_ from CAData cadata0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.001890  Lock_time: 0.001769  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 430
SET timestamp=1625438712;
select roledata0_.id as id1_30_, roledata0_.nameSpace as nameSpac2_30_, roledata0_.rawData as rawData3_30_, roledata0_.roleName as roleName4_30_, roledata0_.rowProtection as rowProte5_30_, roledata0_.rowVersion as rowVersi6_30_ from RoleData roledata0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.001780  Lock_time: 0.001599  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 832
SET timestamp=1625438712;
select rolemember0_.primaryKey as primaryK1_31_, rolemember0_.description as descript2_31_, rolemember0_.roleId as roleId3_31_, rolemember0_.rowVersion as rowVersi4_31_, rolemember0_.tokenIssuerId as tokenIss5_31_, rolemember0_.tokenMatchKey as tokenMat6_31_, rolemember0_.tokenMatchOperator as tokenMat7_31_, rolemember0_.tokenMatchValue as tokenMat8_31_, rolemember0_.tokenType as tokenTyp9_31_, rolemember0_.rowProtection as rowProt10_31_ from RoleMemberData rolemember0_ where rolemember0_.roleId=1;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.001782  Lock_time: 0.001686  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 532
SET timestamp=1625438712;
select servicedat0_.id as id1_33_, servicedat0_.data as data2_33_, servicedat0_.name as name3_33_, servicedat0_.nextRunTimeStamp as nextRunT4_33_, servicedat0_.rowProtection as rowProte5_33_, servicedat0_.rowVersion as rowVersi6_33_, servicedat0_.runTimeStamp as runTimeS7_33_ from ServiceData servicedat0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.001376  Lock_time: 0.001288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 447
SET timestamp=1625438712;
select certificat0_.id as id1_16_, certificat0_.certificateProfileName as certific2_16_, certificat0_.data as data3_16_, certificat0_.rowProtection as rowProte4_16_, certificat0_.rowVersion as rowVersi5_16_ from CertificateProfileData certificat0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.001538  Lock_time: 0.001469  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 426
SET timestamp=1625438712;
select endentityp0_.id as id1_20_, endentityp0_.data as data2_20_, endentityp0_.profileName as profileN3_20_, endentityp0_.rowProtection as rowProte4_20_, endentityp0_.rowVersion as rowVersi5_20_ from EndEntityProfileData endentityp0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.002363  Lock_time: 0.002186  Rows_sent: 3  Rows_examined: 13
# Rows_affected: 0  Bytes_sent: 1153
SET timestamp=1625438712;
SELECT TABLE_SCHEMA TABLE_CAT, NULL TABLE_SCHEM, TABLE_NAME, NON_UNIQUE,  TABLE_SCHEMA INDEX_QUALIFIER, INDEX_NAME, 3 TYPE, SEQ_IN_INDEX ORDINAL_POSITION, COLUMN_NAME, COLLATION ASC_OR_DESC, CARDINALITY, NULL PAGES, NULL FILTER_CONDITION FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_NAME = 'CertificateData' AND (ISNULL(database()) OR (TABLE_SCHEMA = database())) AND NON_UNIQUE = 0 ORDER BY NON_UNIQUE, TYPE, INDEX_NAME, ORDINAL_POSITION;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.001753  Lock_time: 0.001600  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 91
SET timestamp=1625438712;
select internalke0_.id as col_0_0_ from InternalKeyBindingData internalke0_ where internalke0_.keyBindingType='OcspKeyBinding';
# Time: 210704 22:45:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 89  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438714;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 89  Schema:   QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438714;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:45:20
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.027739  Lock_time: 0.004151  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
use etsicatalog;
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_migrations';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000710  Lock_time: 0.000187  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_migrations';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_migrations';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000191  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_migrations';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.010139  Lock_time: 0.000180  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_content_type';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000763  Lock_time: 0.000171  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_content_type';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000132  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_content_type';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000108  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_content_type';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.007166  Lock_time: 0.000227  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_permission';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000156  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_permission';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000651  Lock_time: 0.000095  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_permission';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000789  Lock_time: 0.000128  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_permission';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006967  Lock_time: 0.000219  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000755  Lock_time: 0.000153  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.007424  Lock_time: 0.000188  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000713  Lock_time: 0.000155  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000101  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.007570  Lock_time: 0.000361  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000907  Lock_time: 0.000198  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000898  Lock_time: 0.000177  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000918  Lock_time: 0.000194  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000835  Lock_time: 0.000158  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001077  Lock_time: 0.000184  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000861  Lock_time: 0.000171  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000902  Lock_time: 0.000173  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000869  Lock_time: 0.000184  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000773  Lock_time: 0.000197  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000941  Lock_time: 0.000212  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006280  Lock_time: 0.000214  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_groups';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000875  Lock_time: 0.000180  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_groups';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000728  Lock_time: 0.000152  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_groups';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.005925  Lock_time: 0.000211  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_user_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000722  Lock_time: 0.000164  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_user_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000747  Lock_time: 0.000113  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_user_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.007480  Lock_time: 0.000360  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000778  Lock_time: 0.000165  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000799  Lock_time: 0.000182  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000769  Lock_time: 0.000147  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000730  Lock_time: 0.000135  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000153  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000785  Lock_time: 0.000182  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000774  Lock_time: 0.000196  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438720;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# Time: 210704 22:45:21
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.007190  Lock_time: 0.000172  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000161  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000119  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000101  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000518  Lock_time: 0.000131  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000112  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000579  Lock_time: 0.000130  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000133  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000167  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000111  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.005986  Lock_time: 0.000190  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000792  Lock_time: 0.000213  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000102  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000552  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000596  Lock_time: 0.000146  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000098  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006437  Lock_time: 0.000379  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000646  Lock_time: 0.000150  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000852  Lock_time: 0.000149  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000530  Lock_time: 0.000066  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000097  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.003134  Lock_time: 0.002503  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000616  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000074  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000699  Lock_time: 0.000097  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000700  Lock_time: 0.000136  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000073  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000854  Lock_time: 0.000092  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000778  Lock_time: 0.000137  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000830  Lock_time: 0.000136  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001202  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.002929  Lock_time: 0.002434  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000220  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000087  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000084  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000688  Lock_time: 0.000132  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.005951  Lock_time: 0.000109  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000128  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000079  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000099  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000096  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000089  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000087  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000559  Lock_time: 0.000096  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000118  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000101  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000101  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000123  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000087  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000123  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000552  Lock_time: 0.000085  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.005368  Lock_time: 0.000133  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000105  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000096  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000112  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000605  Lock_time: 0.000113  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000716  Lock_time: 0.000133  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000109  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000100  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000627  Lock_time: 0.000105  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000139  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000139  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000160  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000666  Lock_time: 0.000124  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000120  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.005859  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.002231  Lock_time: 0.000271  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 93  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438721;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001086  Lock_time: 0.000207  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000840  Lock_time: 0.000161  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000731  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001000  Lock_time: 0.000175  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000733  Lock_time: 0.000134  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000809  Lock_time: 0.000195  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000785  Lock_time: 0.000199  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000809  Lock_time: 0.000114  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000659  Lock_time: 0.000123  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000814  Lock_time: 0.000153  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000812  Lock_time: 0.000174  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 93  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438721;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000854  Lock_time: 0.000304  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000168  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000115  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006436  Lock_time: 0.005740  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006910  Lock_time: 0.000221  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001005  Lock_time: 0.000182  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000102  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000579  Lock_time: 0.000077  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000088  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000062  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000067  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000066  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000066  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000064  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.005861  Lock_time: 0.000171  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000895  Lock_time: 0.000182  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000696  Lock_time: 0.000108  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000089  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000084  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000651  Lock_time: 0.000092  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000691  Lock_time: 0.000108  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000105  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000118  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000096  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000080  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000087  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000095  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000077  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006399  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000080  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000579  Lock_time: 0.000080  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000074  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000596  Lock_time: 0.000080  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000571  Lock_time: 0.000094  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000072  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000646  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000074  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000071  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438721;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# Time: 210704 22:45:22
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006003  Lock_time: 0.000102  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438722;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_session';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000076  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438722;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_session';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000107  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1625438722;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_session';
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000135  Rows_sent: 16  Rows_examined: 16
# Rows_affected: 0  Bytes_sent: 791
SET timestamp=1625438722;
SELECT `django_migrations`.`app`, `django_migrations`.`name` FROM `django_migrations`;
# User@Host: etsicatalog[etsicatalog] @  [10.242.168.150]
# Thread_id: 92  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 15
# Rows_affected: 0  Bytes_sent: 203
SET timestamp=1625438722;
SELECT `auth_permission`.`content_type_id`, `auth_permission`.`codename` FROM `auth_permission` INNER JOIN `django_content_type` ON (`auth_permission`.`content_type_id` = `django_content_type`.`id`) WHERE `auth_permission`.`content_type_id` IN (34, 37, 40, 43, 19, 22, 25, 28, 31) ORDER BY `django_content_type`.`app_label` ASC, `django_content_type`.`model` ASC, `auth_permission`.`codename` ASC;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 130
use ejbca;
SET timestamp=1625438722;
select cadata0_.cAId as col_0_0_, cadata0_.name as col_1_0_ from CAData cadata0_;
# Time: 210704 22:45:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 95  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438724;
SELECT
		  page_size, compress_ops, 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.000108  Lock_time: 0.000067  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438724;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:45:26
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.002222  Lock_time: 0.002041  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 84
SET timestamp=1625438726;
select cryptotoke0_.id as col_0_0_ from CryptoTokenData cryptotoke0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000044  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 650
SET timestamp=1625438726;
select cryptotoke0_.id as id1_19_, cryptotoke0_.lastUpdate as lastUpda2_19_, cryptotoke0_.rowProtection as rowProte3_19_, cryptotoke0_.rowVersion as rowVersi4_19_, cryptotoke0_.tokenData as tokenDat5_19_, cryptotoke0_.tokenName as tokenNam6_19_, cryptotoke0_.tokenProps as tokenPro7_19_, cryptotoke0_.tokenType as tokenTyp8_19_ from CryptoTokenData cryptotoke0_ where cryptotoke0_.tokenName='ManagementCA';
# Time: 210704 22:45:30
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000090  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 1139
SET timestamp=1625438730;
select cryptotoke0_.id as id1_19_, cryptotoke0_.lastUpdate as lastUpda2_19_, cryptotoke0_.rowProtection as rowProte3_19_, cryptotoke0_.rowVersion as rowVersi4_19_, cryptotoke0_.tokenData as tokenDat5_19_, cryptotoke0_.tokenName as tokenNam6_19_, cryptotoke0_.tokenProps as tokenPro7_19_, cryptotoke0_.tokenType as tokenTyp8_19_ from CryptoTokenData cryptotoke0_ where cryptotoke0_.tokenName='ManagementCA';
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000052  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 5275
SET timestamp=1625438730;
select cryptotoke0_.id as id1_19_, cryptotoke0_.lastUpdate as lastUpda2_19_, cryptotoke0_.rowProtection as rowProte3_19_, cryptotoke0_.rowVersion as rowVersi4_19_, cryptotoke0_.tokenData as tokenDat5_19_, cryptotoke0_.tokenName as tokenNam6_19_, cryptotoke0_.tokenProps as tokenPro7_19_, cryptotoke0_.tokenType as tokenTyp8_19_ from CryptoTokenData cryptotoke0_ where cryptotoke0_.tokenName='ManagementCA';
# Time: 210704 22:45:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 97  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438731;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 97  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=1625438731;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:45:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 99  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438734;
SELECT
		  page_size, compress_ops, 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.000165  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438734;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:45:37
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000233  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 158
SET timestamp=1625438737;
select cadata0_.cAId as col_0_0_, cadata0_.name as col_1_0_ from CAData cadata0_;
# Time: 210704 22:45:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 102  Schema:   QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438741;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 102  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438741;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:45:43
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 101  Schema: nengdb  QC_hit: No
# Query_time: 0.002045  Lock_time: 0.001910  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 56
use nengdb;
SET timestamp=1625438743;
SELECT COUNT(*) FROM nengdb.DATABASECHANGELOGLOCK;
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 101  Schema: nengdb  QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625438743;
DELETE FROM nengdb.DATABASECHANGELOGLOCK;
# Time: 210704 22:45:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 104  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438744;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 104  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438744;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:45:45
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 101  Schema: nengdb  QC_hit: No
# Query_time: 0.001690  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1625438745;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nengdb') AND TABLE_NAME = 'DATABASECHANGELOG'  AND TABLE_TYPE IN ('BASE TABLE','SYSTEM VERSIONED') ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 101  Schema: nengdb  QC_hit: No
# Query_time: 0.002737  Lock_time: 0.002618  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 56
SET timestamp=1625438745;
SELECT COUNT(*) FROM nengdb.DATABASECHANGELOG;
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 101  Schema: nengdb  QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000056  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1166
SET timestamp=1625438745;
SELECT * FROM nengdb.DATABASECHANGELOG ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC;
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 101  Schema: nengdb  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000121  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 56
SET timestamp=1625438745;
SELECT COUNT(*) FROM nengdb.DATABASECHANGELOGLOCK;
# Time: 210704 22:45:46
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 101  Schema: nengdb  QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 65
SET timestamp=1625438746;
SELECT MAX(ORDEREXECUTED) FROM nengdb.DATABASECHANGELOG;
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 101  Schema: nengdb  QC_hit: No
# Query_time: 0.001278  Lock_time: 0.001221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625438746;
delete from SERVICE_PARAMETER;
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 101  Schema: nengdb  QC_hit: No
# Query_time: 0.001076  Lock_time: 0.001042  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625438746;
delete from IDENTIFIER_MAP;
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 101  Schema: nengdb  QC_hit: No
# Query_time: 0.001680  Lock_time: 0.001587  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625438746;
delete from EXTERNAL_INTERFACE;
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 101  Schema: nengdb  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 4
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625438746;
delete from IDENTIFIER_MAP where POLICY_FN_NAME='UUID';
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 101  Schema: nengdb  QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000041  Rows_sent: 0  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625438746;
delete from IDENTIFIER_MAP where POLICY_FN_NAME='TIMESTAMP';
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 101  Schema: nengdb  QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 6
# Rows_affected: 1  Bytes_sent: 11
SET timestamp=1625438746;
delete from IDENTIFIER_MAP where POLICY_FN_NAME='UUID';
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 101  Schema: nengdb  QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000060  Rows_sent: 0  Rows_examined: 6
# Rows_affected: 1  Bytes_sent: 11
SET timestamp=1625438746;
delete from IDENTIFIER_MAP where POLICY_FN_NAME='TIMESTAMP';
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 447
use ejbca;
SET timestamp=1625438746;
select certificat0_.id as id1_16_, certificat0_.certificateProfileName as certific2_16_, certificat0_.data as data3_16_, certificat0_.rowProtection as rowProte4_16_, certificat0_.rowVersion as rowVersi5_16_ from CertificateProfileData certificat0_;
# Time: 210704 22:45:48
# User@Host: nenguser[nenguser] @  [10.242.10.93]
# Thread_id: 105  Schema: nengdb  QC_hit: No
# Query_time: 0.004542  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 8
# Rows_affected: 0  Bytes_sent: 92
use nengdb;
SET timestamp=1625438748;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 210704 22:45:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 107  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438751;
SELECT
		  page_size, compress_ops, 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.000230  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438751;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:45:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 109  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438754;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 109  Schema:   QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438754;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:46:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 111  Schema:   QC_hit: No
# Query_time: 0.000734  Lock_time: 0.000441  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438761;
SELECT
		  page_size, compress_ops, 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.000332  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438761;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:46:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 113  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438764;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 113  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438764;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:46:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 115  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438771;
SELECT
		  page_size, compress_ops, 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.000318  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438771;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:46:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 117  Schema:   QC_hit: No
# Query_time: 0.001192  Lock_time: 0.001096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438774;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 117  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438774;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:46:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 119  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438781;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 119  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438781;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:46:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 121  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438784;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 121  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438784;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:46:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 123  Schema:   QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438791;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 123  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438791;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:46:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 125  Schema:   QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438794;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 125  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438794;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 22:46:41 127 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
# Time: 210704 22:46:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 128  Schema:   QC_hit: No
# Query_time: 0.012396  Lock_time: 0.012279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438801;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 128  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438801;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:46:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 129  Schema:   QC_hit: No
# Query_time: 0.005312  Lock_time: 0.005223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438804;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 129  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=1625438804;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:46:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 133  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438811;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 133  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438811;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:46:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 172  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438814;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 172  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438814;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:47:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 180  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=1625438821;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 180  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000075  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438821;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:47:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 182  Schema:   QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438824;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 182  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438824;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:47:06
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000219  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 926
use ejbca;
SET timestamp=1625438826;
select roledata0_.id as id1_30_, roledata0_.nameSpace as nameSpac2_30_, roledata0_.rawData as rawData3_30_, roledata0_.roleName as roleName4_30_, roledata0_.rowProtection as rowProte5_30_, roledata0_.rowVersion as rowVersi6_30_ from RoleData roledata0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000230  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 891
SET timestamp=1625438826;
select rolemember0_.primaryKey as primaryK1_31_, rolemember0_.description as descript2_31_, rolemember0_.roleId as roleId3_31_, rolemember0_.rowVersion as rowVersi4_31_, rolemember0_.tokenIssuerId as tokenIss5_31_, rolemember0_.tokenMatchKey as tokenMat6_31_, rolemember0_.tokenMatchOperator as tokenMat7_31_, rolemember0_.tokenMatchValue as tokenMat8_31_, rolemember0_.tokenType as tokenTyp9_31_, rolemember0_.rowProtection as rowProt10_31_ from RoleMemberData rolemember0_ where rolemember0_.roleId=1;
# Time: 210704 22:47:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 184  Schema:   QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438831;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 184  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438831;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:47:13
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000062  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 891
SET timestamp=1625438833;
select rolemember0_.primaryKey as primaryK1_31_, rolemember0_.description as descript2_31_, rolemember0_.roleId as roleId3_31_, rolemember0_.rowVersion as rowVersi4_31_, rolemember0_.tokenIssuerId as tokenIss5_31_, rolemember0_.tokenMatchKey as tokenMat6_31_, rolemember0_.tokenMatchOperator as tokenMat7_31_, rolemember0_.tokenMatchValue as tokenMat8_31_, rolemember0_.tokenType as tokenTyp9_31_, rolemember0_.rowProtection as rowProt10_31_ from RoleMemberData rolemember0_ where rolemember0_.roleId=1;
# Time: 210704 22:47:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 186  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438834;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 186  Schema:   QC_hit: No
# Query_time: 0.001063  Lock_time: 0.000910  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438834;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:47:16
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000189  Rows_sent: 2  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 968
SET timestamp=1625438836;
select rolemember0_.primaryKey as primaryK1_31_, rolemember0_.description as descript2_31_, rolemember0_.roleId as roleId3_31_, rolemember0_.rowVersion as rowVersi4_31_, rolemember0_.tokenIssuerId as tokenIss5_31_, rolemember0_.tokenMatchKey as tokenMat6_31_, rolemember0_.tokenMatchOperator as tokenMat7_31_, rolemember0_.tokenMatchValue as tokenMat8_31_, rolemember0_.tokenType as tokenTyp9_31_, rolemember0_.rowProtection as rowProt10_31_ from RoleMemberData rolemember0_ where rolemember0_.roleId=1;
# Time: 210704 22:47:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 188  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438841;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 188  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=1625438841;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:47:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 190  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438844;
SELECT
		  page_size, compress_ops, 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.000140  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438844;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:47:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 192  Schema:   QC_hit: No
# Query_time: 0.001216  Lock_time: 0.001102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438851;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 192  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438851;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:47:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 194  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438854;
SELECT
		  page_size, compress_ops, 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.000119  Lock_time: 0.000080  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438854;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:47:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 196  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438861;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 196  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438861;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:47:43
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000045  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 447
SET timestamp=1625438863;
select certificat0_.id as id1_16_, certificat0_.certificateProfileName as certific2_16_, certificat0_.data as data3_16_, certificat0_.rowProtection as rowProte4_16_, certificat0_.rowVersion as rowVersi5_16_ from CertificateProfileData certificat0_ where certificat0_.certificateProfileName='CUSTOM_ENDUSER';
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000125  Lock_time: 0.000040  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 4961
SET timestamp=1625438863;
select certificat0_.id as id1_16_, certificat0_.certificateProfileName as certific2_16_, certificat0_.data as data3_16_, certificat0_.rowProtection as rowProte4_16_, certificat0_.rowVersion as rowVersi5_16_ from CertificateProfileData certificat0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 426
SET timestamp=1625438863;
select endentityp0_.id as id1_20_, endentityp0_.data as data2_20_, endentityp0_.profileName as profileN3_20_, endentityp0_.rowProtection as rowProte4_20_, endentityp0_.rowVersion as rowVersi5_20_ from EndEntityProfileData endentityp0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 426
SET timestamp=1625438863;
select endentityp0_.id as id1_20_, endentityp0_.data as data2_20_, endentityp0_.profileName as profileN3_20_, endentityp0_.rowProtection as rowProte4_20_, endentityp0_.rowVersion as rowVersi5_20_ from EndEntityProfileData endentityp0_ where endentityp0_.profileName='Custom_EndEntity';
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 158
SET timestamp=1625438863;
select cadata0_.cAId as col_0_0_, cadata0_.name as col_1_0_ from CAData cadata0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000097  Lock_time: 0.000036  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 4563
SET timestamp=1625438863;
select endentityp0_.id as id1_20_, endentityp0_.data as data2_20_, endentityp0_.profileName as profileN3_20_, endentityp0_.rowProtection as rowProte4_20_, endentityp0_.rowVersion as rowVersi5_20_ from EndEntityProfileData endentityp0_;
# Time: 210704 22:47:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 198  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438864;
SELECT
		  page_size, compress_ops, 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.000134  Lock_time: 0.000080  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438864;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:47:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 200  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438871;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 200  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438871;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:47:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 202  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438874;
SELECT
		  page_size, compress_ops, 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.000123  Lock_time: 0.000079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438874;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:48:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 204  Schema:   QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438881;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 204  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438881;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:48:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 206  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438884;
SELECT
		  page_size, compress_ops, 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.000161  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438884;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:48:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 208  Schema:   QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438891;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 208  Schema:   QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438891;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:48:13
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.002220  Lock_time: 0.002018  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 4961
SET timestamp=1625438893;
select certificat0_.id as id1_16_, certificat0_.certificateProfileName as certific2_16_, certificat0_.data as data3_16_, certificat0_.rowProtection as rowProte4_16_, certificat0_.rowVersion as rowVersi5_16_ from CertificateProfileData certificat0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000073  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 4563
SET timestamp=1625438893;
select endentityp0_.id as id1_20_, endentityp0_.data as data2_20_, endentityp0_.profileName as profileN3_20_, endentityp0_.rowProtection as rowProte4_20_, endentityp0_.rowVersion as rowVersi5_20_ from EndEntityProfileData endentityp0_;
# Time: 210704 22:48:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 210  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438894;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 210  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438894;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:48:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 212  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438901;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 212  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438901;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:48:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 214  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438904;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 214  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=1625438904;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:48:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 216  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438911;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 216  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438911;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:48:34
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000101  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 158
SET timestamp=1625438914;
select cadata0_.cAId as col_0_0_, cadata0_.name as col_1_0_ from CAData cadata0_;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 218  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=1625438914;
SELECT
		  page_size, compress_ops, 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.000127  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438914;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:48:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 220  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438921;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 220  Schema:   QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438921;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:48:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 222  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438924;
SELECT
		  page_size, compress_ops, 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.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438924;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:48:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 224  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=1625438931;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 224  Schema:   QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438931;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:48:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 226  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438934;
SELECT
		  page_size, compress_ops, 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.000144  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438934;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:49:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 228  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438941;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 228  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438941;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:49:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 230  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438944;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 230  Schema:   QC_hit: No
# Query_time: 0.000138  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438944;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:49:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 232  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438951;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 232  Schema:   QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438951;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:49:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 234  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438954;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 234  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438954;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:49:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 239  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438961;
SELECT
		  page_size, compress_ops, 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.000158  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438961;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:49:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 241  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=1625438964;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 241  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438964;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:49:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 243  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438971;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 243  Schema:   QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000081  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438971;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:49:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 245  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438974;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 245  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438974;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:49:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 247  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438981;
SELECT
		  page_size, compress_ops, 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.000188  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438981;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:49:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 249  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438984;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 249  Schema:   QC_hit: No
# Query_time: 0.000115  Lock_time: 0.000078  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438984;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:49:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 251  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438991;
SELECT
                  page_size, buffer_pool_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.000343  Lock_time: 0.000279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438991;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:49:53
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 237  Schema: ejbca  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000231  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 4961
SET timestamp=1625438993;
select certificat0_.id as id1_16_, certificat0_.certificateProfileName as certific2_16_, certificat0_.data as data3_16_, certificat0_.rowProtection as rowProte4_16_, certificat0_.rowVersion as rowVersi5_16_ from CertificateProfileData certificat0_;
# Time: 210704 22:49:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 253  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625438994;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 253  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625438994;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:50:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 255  Schema:   QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439001;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 255  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439001;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:50:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 257  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439004;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 257  Schema:   QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439004;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:50:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 259  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439011;
SELECT
                  page_size, buffer_pool_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.000252  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439011;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:50:12
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 77  Schema: ejbca  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 532
SET timestamp=1625439012;
select servicedat0_.id as id1_33_, servicedat0_.data as data2_33_, servicedat0_.name as name3_33_, servicedat0_.nextRunTimeStamp as nextRunT4_33_, servicedat0_.rowProtection as rowProte5_33_, servicedat0_.rowVersion as rowVersi6_33_, servicedat0_.runTimeStamp as runTimeS7_33_ from ServiceData servicedat0_;
# Time: 210704 22:50:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 261  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439014;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 261  Schema:   QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000073  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439014;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:50:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 263  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439021;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 263  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439021;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:50:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 265  Schema:   QC_hit: No
# Query_time: 0.002838  Lock_time: 0.002749  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439024;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 265  Schema:   QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439024;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:50:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 267  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439031;
SELECT
		  page_size, compress_ops, 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.000266  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439031;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:50:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 269  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439034;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 269  Schema:   QC_hit: No
# Query_time: 0.000124  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439034;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:50:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 271  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439041;
SELECT
		  page_size, compress_ops, 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.000220  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439041;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:50:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 273  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439044;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 273  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439044;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:50:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 275  Schema:   QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000078  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439051;
SELECT
		  page_size, compress_ops, 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.000093  Lock_time: 0.000057  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439051;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:50:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 277  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439054;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 277  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439054;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:51:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 279  Schema:   QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439061;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 279  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439061;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:51:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 281  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439064;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 281  Schema:   QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000065  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439064;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:51:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 283  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439071;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 283  Schema:   QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439071;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:51:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 285  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439074;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 285  Schema:   QC_hit: No
# Query_time: 0.000136  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439074;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:51:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 287  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439081;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 287  Schema:   QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000362  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439081;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:51:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 289  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439084;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 289  Schema:   QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000275  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439084;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:51:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 291  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439091;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 291  Schema:   QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439091;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:51:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 293  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439094;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 293  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439094;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:51:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 295  Schema:   QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439101;
SELECT
                  page_size, buffer_pool_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.000336  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439101;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:51:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 297  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439104;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 297  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439104;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:51:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 299  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439111;
SELECT
		  page_size, compress_ops, 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.000219  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439111;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:51:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 301  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439114;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 301  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439114;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:52:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 303  Schema:   QC_hit: No
# Query_time: 0.001216  Lock_time: 0.000648  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439121;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 303  Schema:   QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439121;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:52:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 305  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439124;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 305  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439124;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:52:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 307  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439131;
SELECT
		  page_size, compress_ops, 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.000244  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439131;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:52:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 309  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439134;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 309  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000315  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439134;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:52:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 311  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439141;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 311  Schema:   QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000327  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439141;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:52:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 313  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439144;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 313  Schema:   QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439144;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:52:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 315  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439151;
SELECT
		  page_size, compress_ops, 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.000142  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439151;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:52:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 317  Schema:   QC_hit: No
# Query_time: 0.013684  Lock_time: 0.013495  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439154;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 317  Schema:   QC_hit: No
# Query_time: 0.003453  Lock_time: 0.003348  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439154;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:52:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 319  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439161;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 319  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439161;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:52:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 321  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439164;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 321  Schema:   QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439164;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:52:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 323  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439171;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 323  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000240  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439171;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:52:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 325  Schema:   QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000349  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439174;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 325  Schema:   QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000323  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439174;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:53:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 327  Schema:   QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439181;
SELECT
		  page_size, compress_ops, 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.000177  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439181;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:53:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 329  Schema:   QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000384  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439184;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 329  Schema:   QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000266  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439184;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:53:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 331  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439191;
SELECT
		  page_size, compress_ops, 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.000220  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439191;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:53:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 333  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439194;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 333  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439194;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:53:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 335  Schema:   QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439201;
SELECT
		  page_size, compress_ops, 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.000445  Lock_time: 0.000318  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439201;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:53:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 337  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439204;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 337  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439204;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:53:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 339  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439211;
SELECT
                  page_size, buffer_pool_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.000160  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439211;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:53:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 341  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439214;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 341  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439214;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:53:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 343  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439221;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 343  Schema:   QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000318  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439221;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:53:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 345  Schema:   QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439224;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 345  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439224;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:53:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 349  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439231;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 349  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439231;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:53:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 351  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439234;
SELECT
		  page_size, compress_ops, 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.000125  Lock_time: 0.000075  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439234;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:54:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 353  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439241;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 353  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439241;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:54:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 355  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439244;
SELECT
		  page_size, compress_ops, 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.000196  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439244;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:54:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 357  Schema:   QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000574  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439251;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 357  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=1625439251;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:54:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 359  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439254;
SELECT
                  page_size, buffer_pool_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.000184  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439254;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:54:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 361  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439261;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 361  Schema:   QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439261;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:54:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 363  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439264;
SELECT
		  page_size, compress_ops, 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.000103  Lock_time: 0.000067  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439264;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:54:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 365  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439271;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 365  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=1625439271;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:54:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 367  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439274;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 367  Schema:   QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000075  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439274;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:54:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 369  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439281;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 369  Schema:   QC_hit: No
# Query_time: 0.000132  Lock_time: 0.000072  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439281;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:54:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 371  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439284;
SELECT
		  page_size, compress_ops, 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.000162  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439284;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:54:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 373  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439291;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 373  Schema:   QC_hit: No
# Query_time: 0.000136  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439291;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:54:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 375  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439294;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 375  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439294;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:55:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 377  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439301;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 377  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439301;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:55:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 379  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439304;
SELECT
		  page_size, compress_ops, 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.000269  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439304;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:55:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 381  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439311;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 381  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439311;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:55:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 383  Schema:   QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000496  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439314;
SELECT
                  page_size, buffer_pool_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.000171  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439314;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:55:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 385  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=1625439321;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 385  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439321;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:55:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 387  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439324;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 387  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439324;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:55:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 389  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439331;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 389  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439331;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:55:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 391  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439334;
SELECT
		  page_size, compress_ops, 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.000117  Lock_time: 0.000079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439334;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:55:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 393  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439341;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 393  Schema:   QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000327  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439341;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:55:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 395  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439344;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 395  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439344;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:55:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 397  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439351;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 397  Schema:   QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439351;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:55:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 399  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439354;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 399  Schema:   QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439354;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
2021-07-04 22:55:59 401 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
# Time: 210704 22:56:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 403  Schema:   QC_hit: No
# Query_time: 0.014340  Lock_time: 0.014202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439361;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 403  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000227  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439361;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:56:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 405  Schema:   QC_hit: No
# Query_time: 0.003867  Lock_time: 0.003805  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439364;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 405  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439364;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 22:56:07 406 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-07-04 22:56:07 7 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-07-04 22:56:07 1 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-07-04 22:56:07 1 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-07-04 22:56:07 409 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
# Time: 210704 22:56:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 411  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439371;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 411  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439371;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:56:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 413  Schema:   QC_hit: No
# Query_time: 0.003291  Lock_time: 0.003216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439374;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 413  Schema:   QC_hit: No
# Query_time: 0.001209  Lock_time: 0.001151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439374;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:56:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 415  Schema:   QC_hit: No
# Query_time: 0.001129  Lock_time: 0.001059  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439381;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 415  Schema:   QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000543  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439381;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:56:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 417  Schema:   QC_hit: No
# Query_time: 0.000132  Lock_time: 0.000073  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439384;
SELECT
		  page_size, compress_ops, 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.000218  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439384;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:56:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 419  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439391;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 419  Schema:   QC_hit: No
# Query_time: 0.000118  Lock_time: 0.000080  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439391;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:56:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 421  Schema:   QC_hit: No
# Query_time: 0.001802  Lock_time: 0.001713  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439394;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 421  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439394;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:56:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 423  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439401;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 423  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439401;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:56:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 425  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439404;
SELECT
		  page_size, compress_ops, 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.000153  Lock_time: 0.000072  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439404;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:56:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 427  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439411;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 427  Schema:   QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439411;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:56:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 429  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439414;
SELECT
		  page_size, compress_ops, 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.000397  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439414;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:57:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 431  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439421;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 431  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439421;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:57:03
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.001399  Lock_time: 0.001087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 92
use nfvo;
SET timestamp=1625439423;
SELECT event_name FROM information_schema.events LIMIT 1;
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439423;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000996  Lock_time: 0.000234  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 124
SET timestamp=1625439423;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='nfvo' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439423;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.001262  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1625439423;
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.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439423;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1625439423;
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.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 124
SET timestamp=1625439423;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='nfvo' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.006477  Lock_time: 0.006171  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 57
SET timestamp=1625439423;
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.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000133  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 124
SET timestamp=1625439423;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='nfvo' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439423;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000634  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1625439423;
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.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439423;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.001962  Lock_time: 0.000147  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1625439423;
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.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439423;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439423;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000718  Lock_time: 0.000155  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1625439423;
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.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439423;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000112  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 124
SET timestamp=1625439423;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='nfvo' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439423;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.001265  Lock_time: 0.000216  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1625439423;
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.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439423;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000656  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1625439423;
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.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 926
SET timestamp=1625439423;
SELECT * FROM `nfvo`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000759  Lock_time: 0.000074  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1625439423;
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.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439423;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000139  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439423;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000855  Lock_time: 0.000146  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1625439423;
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.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439423;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# Time: 210704 22:57:04
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000953  Lock_time: 0.000810  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 92
use catalogdb;
SET timestamp=1625439424;
SELECT event_name FROM information_schema.events LIMIT 1;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439424;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000507  Lock_time: 0.000360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439424;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001899  Lock_time: 0.000349  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1625439424;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000157  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439424;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.007250  Lock_time: 0.006522  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 57
SET timestamp=1625439424;
SELECT SUM(found) FROM ((SELECT 1 as found FROM information_schema.tables WHERE table_schema='catalogdb') UNION ALL (SELECT 1 as found FROM information_schema.views WHERE table_schema='catalogdb' LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.table_constraints WHERE table_schema='catalogdb' LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.triggers WHERE event_object_schema='catalogdb'  LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.routines WHERE routine_schema='catalogdb' LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.events WHERE event_schema='catalogdb' LIMIT 1)) as all_found;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000176  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439424;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439424;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001139  Lock_time: 0.000395  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1625439424;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439424;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001797  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439424;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 438  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439424;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439424;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 438  Schema:   QC_hit: No
# Query_time: 0.001315  Lock_time: 0.001238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439424;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:57:05
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439425;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001022  Lock_time: 0.000126  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439425;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439425;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439425;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.193.19]
# Thread_id: 432  Schema: nfvo  QC_hit: No
# Query_time: 0.040717  Lock_time: 0.036660  Rows_sent: 0  Rows_examined: 6
# Rows_affected: 0  Bytes_sent: 92
use nfvo;
SET timestamp=1625439425;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 210704 22:57:06
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000995  Lock_time: 0.000920  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
use catalogdb;
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001442  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439426;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000979  Lock_time: 0.000155  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439426;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 976
SET timestamp=1625439426;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000682  Lock_time: 0.000101  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439426;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000619  Lock_time: 0.000114  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439426;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000095  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439426;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000794  Lock_time: 0.000088  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439426;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000078  Lock_time: 0.000042  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000692  Lock_time: 0.000079  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439426;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000101  Lock_time: 0.000030  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 1070
SET timestamp=1625439426;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000063  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439426;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000139  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000109  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000117  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439426;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000084  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439426;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001747  Lock_time: 0.001495  Rows_sent: 0  Rows_examined: 4
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439426;
DELETE from service where model_uuid in ( SELECT SERVICE_MODEL_UUID
FROM service_to_resource_customizations
GROUP BY
SERVICE_MODEL_UUID, resource_model_customization_uuid
HAVING COUNT(*) > 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001840  Lock_time: 0.000162  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439426;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439426;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000097  Lock_time: 0.000027  Rows_sent: 2  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 1180
SET timestamp=1625439426;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439426;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000120  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439426;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439426;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000090  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439426;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# Time: 210704 22:57:07
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.003048  Lock_time: 0.002820  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 50
SET timestamp=1625439427;
INSERT INTO network_resource_customization_to_service SELECT service_model_uuid,resource_model_customization_uuid 
FROM service_to_resource_customizations WHERE model_type = 'network' and service_model_uuid in(select model_uuid from service)
AND resource_model_customization_uuid in ( SELECT MODEL_CUSTOMIZATION_UUID from network_resource_customization);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002089  Lock_time: 0.001960  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 50
SET timestamp=1625439427;
INSERT INTO allotted_resource_customization_to_service SELECT service_model_uuid,resource_model_customization_uuid 
FROM service_to_resource_customizations WHERE model_type = 'allottedResource' and service_model_uuid in(select model_uuid from service)
AND resource_model_customization_uuid in ( SELECT MODEL_CUSTOMIZATION_UUID from allotted_resource_customization);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002103  Lock_time: 0.001979  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 50
SET timestamp=1625439427;
INSERT INTO vnf_resource_customization_to_service SELECT service_model_uuid,resource_model_customization_uuid 
FROM service_to_resource_customizations WHERE model_type = 'vnf' and service_model_uuid in(select model_uuid from service)
AND resource_model_customization_uuid in ( SELECT MODEL_CUSTOMIZATION_UUID from vnf_resource_customization);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000042  Rows_sent: 0  Rows_examined: 20
# Rows_affected: 4  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_recipe
SET vnf_type = 'VNF-API-DEFAULT'
WHERE vnf_type = 'VID_DEFAULT';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 20
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_recipe
SET description = 'Vnf api recipe to create vnf'
WHERE description = 'VID_DEFAULT recipe to create VNF if no custom BPMN flow is found';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000119  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 20
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_recipe
SET description = 'Vnf api recipe to delete vnf'
WHERE description = 'VID_DEFAULT recipe to delete VNF if no custom BPMN flow is found';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000085  Lock_time: 0.000032  Rows_sent: 0  Rows_examined: 20
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_recipe
SET description = 'Vnf api recipe to update vnf'
WHERE description = 'VID_DEFAULT update';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000075  Lock_time: 0.000025  Rows_sent: 0  Rows_examined: 20
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_recipe
SET description = 'Vnf api recipe to replace vnf'
WHERE description = 'VID_DEFAULT replace';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000084  Lock_time: 0.000023  Rows_sent: 0  Rows_examined: 20
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_recipe
SET description = 'Vnf api recipe to do an in place software update'
WHERE description = 'VID_DEFAULT inPlaceSoftwareUpdate';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000072  Lock_time: 0.000023  Rows_sent: 0  Rows_examined: 20
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_recipe
SET description = 'Vnf api recipe to apply updated config'
WHERE description = 'VID_DEFAULT applyUpdatedConfig';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002294  Lock_time: 0.002166  Rows_sent: 0  Rows_examined: 5
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE service
SET model_name = 'VNF-API-DEFAULT',
    description = 'Vnf api service for VID to use for infra APIH orchestration'
WHERE model_name = 'VID_DEFAULT';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000101  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 18
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE service_recipe
SET description = 'Vnf api recipe to activate service-instance'
WHERE description = 'VID_DEFAULT activate';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000128  Lock_time: 0.000037  Rows_sent: 0  Rows_examined: 18
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE service_recipe
SET description = 'Vnf api recipe to create service-instance'
WHERE description = 'VID_DEFAULT recipe to create service-instance if no custom BPMN flow is found';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000074  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 18
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE service_recipe
SET description = 'Vnf api recipe to deactivate service-instance'
WHERE description = 'VID_DEFAULT deactivate';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000025  Rows_sent: 0  Rows_examined: 18
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE service_recipe
SET description = 'Vnf api recipe to delete service-instance'
WHERE description = 'VID_DEFAULT recipe to delete service-instance if no custom BPMN flow is found';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000079  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 22
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_components_recipe
SET description = 'Vnf api recipe to create volume-group'
WHERE description = 'VID_DEFAULT recipe to create volume-group if no custom BPMN flow is found';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000098  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 22
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_components_recipe
SET description = 'Vnf api recipe to delete volume-group'
WHERE description = 'VID_DEFAULT recipe to delete volume-group if no custom BPMN flow is found';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000077  Lock_time: 0.000026  Rows_sent: 0  Rows_examined: 22
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_components_recipe
SET description = 'Vnf api recipe to update volume-group'
WHERE description = 'VID_DEFAULT recipe to update volume-group if no custom BPMN flow is found';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000075  Lock_time: 0.000026  Rows_sent: 0  Rows_examined: 22
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_components_recipe
SET description = 'Vnf api recipe to create vf-module'
WHERE description = 'VID_DEFAULT recipe to create vf-module if no custom BPMN flow is found';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000075  Lock_time: 0.000025  Rows_sent: 0  Rows_examined: 22
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_components_recipe
SET description = 'Vnf api recipe to delete vf-module'
WHERE description = 'VID_DEFAULT recipe to delete vf-module if no custom BPMN flow is found';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000114  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 22
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_components_recipe
SET description = 'Vnf api recipe to update vf-module'
WHERE description = 'VID_DEFAULT recipe to update vf-module if no custom BPMN flow is found';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000076  Lock_time: 0.000025  Rows_sent: 0  Rows_examined: 22
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_components_recipe
SET description = 'Vnf api recipe to replace vf-module'
WHERE description = 'VID_DEFAULT vfModule replace';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 29
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE network_recipe
SET description = 'Vnf api recipe to create network'
WHERE description = 'VID_DEFAULT recipe to create network if no custom BPMN flow is found';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000026  Rows_sent: 0  Rows_examined: 29
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE network_recipe
SET description = 'Vnf api recipe to update network'
WHERE description = 'VID_DEFAULT recipe to update network if no custom BPMN flow is found';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000026  Rows_sent: 0  Rows_examined: 29
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE network_recipe
SET description = 'Vnf api recipe to delete network'
WHERE description = 'VID_DEFAULT recipe to delete network if no custom BPMN flow is found';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000108  Lock_time: 0.000045  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001436  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000067  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000094  Lock_time: 0.000036  Rows_sent: 3  Rows_examined: 3
# Rows_affected: 0  Bytes_sent: 1313
SET timestamp=1625439427;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001796  Lock_time: 0.000113  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439427;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 20
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_recipe
SET ORCHESTRATION_URI = '/mso/async/services/VnfInPlaceUpdate'
WHERE VNF_TYPE = 'GR-API-DEFAULT' AND ACTION = 'inPlaceSoftwareUpdate';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 20
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE vnf_recipe
SET ORCHESTRATION_URI = '/mso/async/services/VnfConfigUpdate'
WHERE VNF_TYPE = 'GR-API-DEFAULT' AND ACTION = 'applyUpdatedConfig';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000044  Rows_sent: 0  Rows_examined: 5
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE service
SET MODEL_INVARIANT_UUID = '944862ae-bb65-4429-8330-a6c9170d6672'
WHERE MODEL_INVARIANT_UUID = 'DummyGRApiDefaultModelInvariantUUID?';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000089  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 20
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE service_recipe
SET DESCRIPTION = 'Vnf api recipe to assign service-instance'
WHERE ACTION = 'assignInstance' AND DESCRIPTION LIKE '%VID_DEFAULT%';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000038  Rows_sent: 0  Rows_examined: 20
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE service_recipe
SET DESCRIPTION = 'Vnf api recipe to unassign service-instance'
WHERE ACTION = 'unassignInstance' AND DESCRIPTION LIKE '%VID_DEFAULT%';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000083  Lock_time: 0.000045  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000705  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000067  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000057  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000095  Lock_time: 0.000036  Rows_sent: 4  Rows_examined: 4
# Rows_affected: 0  Bytes_sent: 1461
SET timestamp=1625439427;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001259  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000124  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000108  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001203  Lock_time: 0.000125  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000107  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439427;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000349  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001669  Lock_time: 0.000157  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000070  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000093  Lock_time: 0.000026  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 1582
SET timestamp=1625439427;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000128  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000660  Lock_time: 0.000113  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000154  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439427;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.003825  Lock_time: 0.003748  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'createService' WHERE MACRO_ACTION = 'Service-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000066  Lock_time: 0.000032  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'deleteService' WHERE MACRO_ACTION = 'Service-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000060  Lock_time: 0.000031  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'assignService' WHERE MACRO_ACTION = 'Service-Macro-Assign';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000057  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'activateService' WHERE MACRO_ACTION = 'Service-Macro-Activate';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000068  Lock_time: 0.000041  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'unassignService' WHERE MACRO_ACTION = 'Service-Macro-Unassign';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000055  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'createService' WHERE MACRO_ACTION = 'Service-Macro-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000054  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'deleteService' WHERE MACRO_ACTION = 'Service-Macro-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000055  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'createService' WHERE MACRO_ACTION = 'Network-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000054  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'deleteService' WHERE MACRO_ACTION = 'Network-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000069  Lock_time: 0.000028  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'replaceService' WHERE MACRO_ACTION = 'VNF-Macro-Replace';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000053  Lock_time: 0.000026  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'createService' WHERE MACRO_ACTION = 'VNF-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000053  Lock_time: 0.000026  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'deleteService' WHERE MACRO_ACTION = 'VNF-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000059  Lock_time: 0.000030  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'createService' WHERE MACRO_ACTION = 'VolumeGroup-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000053  Lock_time: 0.000026  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'deleteService' WHERE MACRO_ACTION = 'VolumeGroup-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000067  Lock_time: 0.000038  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'createService' WHERE MACRO_ACTION = 'VFModule-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000054  Lock_time: 0.000026  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'deleteService' WHERE MACRO_ACTION = 'VFModule-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000054  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'createService' WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000054  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'deleteService' WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000081  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'deleteService' WHERE MACRO_ACTION = 'AVPNBonding-Macro-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000055  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ACTION = 'createService' WHERE MACRO_ACTION = 'AVPNBonding-Macro-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000071  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000610  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000067  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000088  Lock_time: 0.000025  Rows_sent: 6  Rows_examined: 6
# Rows_affected: 0  Bytes_sent: 1689
SET timestamp=1625439427;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000090  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000139  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000093  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439427;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.011104  Lock_time: 0.002300  Rows_sent: 0  Rows_examined: 2163
# Rows_affected: 103  Bytes_sent: 52
SET timestamp=1625439427;
INSERT INTO orchestration_flow_reference(COMPOSITE_ACTION, SEQ_NO, FLOW_NAME, FLOW_VERSION, NB_REQ_REF_LOOKUP_ID) VALUES
('Service-Create', '1', 'AssignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Create')),
('Service-Create', '2', 'ActivateServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Create')),
('Service-Delete', '1', 'DeactivateServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Delete')),
('Service-Delete', '2', 'UnassignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Delete')),
('Service-Macro-Assign', '1', 'AssignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign')),
('Service-Macro-Assign', '2', 'AssignNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign')),
('Service-Macro-Assign', '3', 'AssignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign')),
('Service-Macro-Assign', '4', 'AssignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign')),
('Service-Macro-Assign', '5', 'AssignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign')),
('Service-Macro-Activate', '1', 'CreateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
('Service-Macro-Activate', '2', 'ActivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
('Service-Macro-Activate', '3', 'CreateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
('Service-Macro-Activate', '4', 'ActivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
('Service-Macro-Activate', '5', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
('Service-Macro-Activate', '6', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
('Service-Macro-Activate', '7', 'ActivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
('Service-Macro-Activate', '8', 'ActivateServiceInstance', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
('Service-Macro-Unassign', '1', 'UnassignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign')),
('Service-Macro-Unassign', '2', 'UnassignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign')),
('Service-Macro-Unassign', '3', 'UnassignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign')),
('Service-Macro-Unassign', '4', 'UnassignNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign')),
('Service-Macro-Unassign', '5', 'UnassignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign')),
('Service-Macro-Create', '1', 'AssignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Create', '2', 'CreateNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Create', '3', 'AssignNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Create', '4', 'AssignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Create', '5', 'AssignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Create', '6', 'AssignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Create', '7', 'CreateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Create', '8', 'ActivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Create', '9', 'CreateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Create', '10', 'ActivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Create', '11', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Create', '12', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Create', '13', 'ActivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Create', '14', 'ActivateNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Create', '15', 'ActivateServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
('Service-Macro-Delete', '1', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '2', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '3', 'DeactivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '4', 'DeleteVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '5', 'DeactivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '6', 'DeactivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '7', 'DeleteNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '8', 'DeactivateNetworkCollectionBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '9', 'DeleteNetworkCollectionBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '10', 'DeactivateServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '11', 'UnassignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '12', 'UnassignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '13', 'UnassignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '14', 'UnassignNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '15', 'UnassignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Network-Create', '1', 'AssignNetwork1802BB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Create')),
('Network-Create', '2', 'CreateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Create')),
('Network-Create', '3', 'ActivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Create')),
('Network-Delete', '1', 'DeactivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Delete')),
('Network-Delete', '2', 'DeleteNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Delete')),
('Network-Delete', '3', 'UnassignNetwork1802BB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Delete')),
('VNF-Create', '1', 'AssignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Create')),
('VNF-Create', '2', 'ActivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Create')),
('VNF-Delete', '1', 'DeactivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Delete')),
('VNF-Delete', '2', 'UnassignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Delete')),
('VNF-Macro-Recreate', '1', 'AAICheckVnfInMaintBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate')),
('VNF-Macro-Recreate', '2', 'AAISetVnfInMaintBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate')),
('VNF-Macro-Recreate', '3', 'VNF-Macro-Replace', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate')),
('VNF-Macro-Recreate', '4', 'SDNOVnfHealthCheckBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate')),
('VNF-Macro-Recreate', '5', 'AAIUnsetVnfInMaintBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate')),
('VNF-Macro-Replace', '1', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace')),
('VNF-Macro-Replace', '2', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace')),
('VNF-Macro-Replace', '3', 'DeactivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace')),
('VNF-Macro-Replace', '4', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace')),
('VNF-Macro-Replace', '5', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace')),
('VNF-Macro-Replace', '6', 'ActivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace')),
('VolumeGroup-Create', '1', 'AssignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Create')),
('VolumeGroup-Create', '2', 'CreateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Create')),
('VolumeGroup-Create', '3', 'ActivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Create')),
('VolumeGroup-Delete', '1', 'DeactivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Delete')),
('VolumeGroup-Delete', '2', 'DeleteVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Delete')),
('VolumeGroup-Delete', '3', 'UnassignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Delete')),
('VFModule-Create', '1', 'AssignVfModuleBB',  1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Create')),
('VFModule-Create', '2', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Create')),
('VFModule-Create', '3', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Create')),
('VFModule-Delete', '1', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Delete')),
('VFModule-Delete', '2', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Delete')),
('VFModule-Delete', '3', 'UnassignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Delete')),
('NetworkCollection-Macro-Create', '1', 'CreateNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create')),
('NetworkCollection-Macro-Create', '2', 'AssignNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create')),
('NetworkCollection-Macro-Create', '3', 'CreateNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create')),
('NetworkCollection-Macro-Create', '4', 'ActivateNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create')),
('NetworkCollection-Macro-Create', '5', 'ActivateNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create')),
('NetworkCollection-Macro-Delete', '1', 'DeactivateNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete')),
('NetworkCollection-Macro-Delete', '2', 'DeleteNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete')),
('NetworkCollection-Macro-Delete', '3', 'UnassignNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete')),
('NetworkCollection-Macro-Delete', '4', 'DeactivateNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete')),
('NetworkCollection-Macro-Delete', '5', 'DeleteNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete')),
('AVPNBonding-Macro-Delete','1','DeactivateServiceInstanceBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'AVPNBonding-Macro-Delete')),
('AVPNBonding-Macro-Delete','2','DeactivateAndUnassignVpnBondingLinksBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'AVPNBonding-Macro-Delete')),
('AVPNBonding-Macro-Delete','3','UnassignServiceInstanceBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'AVPNBonding-Macro-Delete')),
('AVPNBonding-Macro-Create','1','SniroHoming',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'AVPNBonding-Macro-Create')),
('AVPNBonding-Macro-Create','2','CreateCustomerVpnBindingBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'AVPNBonding-Macro-Create')),
('AVPNBonding-Macro-Create','3','AvpnAssignServiceInstanceBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'AVPNBonding-Macro-Create')),
('AVPNBonding-Macro-Create','4','AssignAndActivateVpnBondingLinksBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'AVPNBonding-Macro-Create')),
('AVPNBonding-Macro-Create','5','ActivateServiceInstanceBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'AVPNBonding-Macro-Create'));
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000084  Lock_time: 0.000044  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000812  Lock_time: 0.000064  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000065  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000662  Lock_time: 0.000055  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000094  Lock_time: 0.000026  Rows_sent: 7  Rows_examined: 7
# Rows_affected: 0  Bytes_sent: 1794
SET timestamp=1625439427;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000593  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000118  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000124  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439427;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000071  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000774  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000066  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000054  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000091  Lock_time: 0.000024  Rows_sent: 8  Rows_examined: 8
# Rows_affected: 0  Bytes_sent: 1909
SET timestamp=1625439427;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000100  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000079  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439427;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001678  Lock_time: 0.001413  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'Service-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000048  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'Service-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000045  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'Service-Macro-Assign';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000041  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'Service-Macro-Activate';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000041  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'Service-Macro-Unassign';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000032  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'Service-Macro-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'Service-Macro-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000106  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'Network-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'Network-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000106  Lock_time: 0.000030  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = FALSE WHERE MACRO_ACTION = 'VNF-Macro-Replace';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000103  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'VNF-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000104  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'VNF-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000028  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'VolumeGroup-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000103  Lock_time: 0.000028  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'VolumeGroup-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000101  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'VFModule-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'VFModule-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000102  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000102  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000028  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'AVPNBonding-Macro-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'AVPNBonding-Macro-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000028  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439427;
UPDATE northbound_request_ref_lookup SET ISTOPLEVELFLOW = TRUE WHERE MACRO_ACTION = 'VNF-Macro-Recreate';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000108  Lock_time: 0.000051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001582  Lock_time: 0.000074  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000069  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000619  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000036  Rows_sent: 9  Rows_examined: 9
# Rows_affected: 0  Bytes_sent: 2028
SET timestamp=1625439427;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000764  Lock_time: 0.000122  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000124  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439427;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001496  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000065  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000559  Lock_time: 0.000054  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000099  Lock_time: 0.000024  Rows_sent: 10  Rows_examined: 10
# Rows_affected: 0  Bytes_sent: 2150
SET timestamp=1625439427;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000960  Lock_time: 0.000057  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000720  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439427;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000138  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439427;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000123  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439427;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# Time: 210704 22:57:08
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001641  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000076  Lock_time: 0.000039  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000070  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000138  Lock_time: 0.000029  Rows_sent: 11  Rows_examined: 11
# Rows_affected: 0  Bytes_sent: 2263
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000759  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000122  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000106  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000740  Lock_time: 0.000117  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000100  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001592  Lock_time: 0.000160  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000072  Lock_time: 0.000038  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000057  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000124  Lock_time: 0.000023  Rows_sent: 12  Rows_examined: 12
# Rows_affected: 0  Bytes_sent: 2427
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000666  Lock_time: 0.000057  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000101  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000770  Lock_time: 0.000096  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  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=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000119  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002100  Lock_time: 0.000176  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000061  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000916  Lock_time: 0.000108  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000073  Rows_sent: 13  Rows_examined: 13
# Rows_affected: 0  Bytes_sent: 2551
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001007  Lock_time: 0.000128  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000985  Lock_time: 0.000161  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000116  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001398  Lock_time: 0.000115  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000069  Lock_time: 0.000037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000571  Lock_time: 0.000076  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000047  Rows_sent: 14  Rows_examined: 14
# Rows_affected: 0  Bytes_sent: 2672
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000109  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000096  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000746  Lock_time: 0.000099  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000120  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000075  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 103
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439428;
UPDATE orchestration_flow_reference SET FLOW_NAME = 'HomingV2' WHERE FLOW_NAME = 'SniroHoming';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000067  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000074  Lock_time: 0.000042  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000671  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000119  Lock_time: 0.000025  Rows_sent: 15  Rows_examined: 15
# Rows_affected: 0  Bytes_sent: 2784
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000103  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000658  Lock_time: 0.000093  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000073  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001737  Lock_time: 0.000169  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000084  Lock_time: 0.000043  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000669  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000034  Rows_sent: 16  Rows_examined: 16
# Rows_affected: 0  Bytes_sent: 2918
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000686  Lock_time: 0.000077  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000803  Lock_time: 0.000126  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000087  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000124  Lock_time: 0.000039  Rows_sent: 0  Rows_examined: 23
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439428;
UPDATE vnf_components_recipe
SET description = 'Vnf api recipe to soft delete vf-module'
WHERE description = 'VID_DEFAULT vfModule soft delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000104  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000765  Lock_time: 0.000063  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000095  Lock_time: 0.000047  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000814  Lock_time: 0.000100  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000033  Rows_sent: 17  Rows_examined: 17
# Rows_affected: 0  Bytes_sent: 3088
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000802  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000115  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000764  Lock_time: 0.000102  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 103
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439428;
UPDATE orchestration_flow_reference
SET FLOW_NAME = 'ActivateServiceInstanceBB'
WHERE FLOW_NAME = 'ActivateServiceInstance';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 103
# Rows_affected: 2  Bytes_sent: 11
SET timestamp=1625439428;
DELETE FROM orchestration_flow_reference
WHERE FLOW_NAME = 'DeactivateNetworkCollectionBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000124  Lock_time: 0.000024  Rows_sent: 0  Rows_examined: 33
# Rows_affected: 3  Bytes_sent: 52
SET timestamp=1625439428;
UPDATE building_block_detail
SET TARGET_ACTION = 'CHANGE_MODEL'
WHERE TARGET_ACTION = 'CHANGEMODEL';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001907  Lock_time: 0.000132  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001038  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000096  Rows_sent: 18  Rows_examined: 18
# Rows_affected: 0  Bytes_sent: 3209
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000877  Lock_time: 0.000108  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000946  Lock_time: 0.000167  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000166  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001872  Lock_time: 0.000190  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000112  Lock_time: 0.000053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000824  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000074  Rows_sent: 19  Rows_examined: 19
# Rows_affected: 0  Bytes_sent: 3413
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000746  Lock_time: 0.000097  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000859  Lock_time: 0.000193  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000090  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001645  Lock_time: 0.001167  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 2  Bytes_sent: 52
SET timestamp=1625439428;
INSERT INTO orchestration_flow_reference(COMPOSITE_ACTION, SEQ_NO, FLOW_NAME, FLOW_VERSION, NB_REQ_REF_LOOKUP_ID) VALUES
('VFModule-DeactivateAndCloudDelete', '1', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-DeactivateAndCloudDelete')),
('VFModule-DeactivateAndCloudDelete', '2', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-DeactivateAndCloudDelete'));
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000786  Lock_time: 0.000122  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000102  Lock_time: 0.000053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000822  Lock_time: 0.000099  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000031  Rows_sent: 20  Rows_examined: 20
# Rows_affected: 0  Bytes_sent: 3647
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000814  Lock_time: 0.000132  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000128  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000805  Lock_time: 0.000140  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000132  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 21
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439428;
DELETE FROM `vnf_recipe` WHERE `NF_ROLE`='POLO_DEFAULT';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001741  Lock_time: 0.000105  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000091  Lock_time: 0.000046  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000743  Lock_time: 0.000093  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000033  Rows_sent: 21  Rows_examined: 21
# Rows_affected: 0  Bytes_sent: 3782
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000085  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000760  Lock_time: 0.000129  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000041  Rows_sent: 0  Rows_examined: 23
# Rows_affected: 1  Bytes_sent: 13
SET timestamp=1625439428;
INSERT INTO orchestration_flow_reference (COMPOSITE_ACTION, SEQ_NO, FLOW_NAME, FLOW_VERSION, NB_REQ_REF_LOOKUP_ID)
values ( 'Service-Macro-Deactivate', '1', 'DeactivateServiceInstanceBB', '1', (SELECT id FROM northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Deactivate'));
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000066  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000062  Lock_time: 0.000030  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000110  Lock_time: 0.000027  Rows_sent: 22  Rows_examined: 22
# Rows_affected: 0  Bytes_sent: 3918
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000593  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000120  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000680  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000090  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 23
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439428;
UPDATE northbound_request_ref_lookup SET MIN_API_VERSION = 5 WHERE MACRO_ACTION = 'Service-Macro-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000030  Rows_sent: 0  Rows_examined: 23
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439428;
UPDATE northbound_request_ref_lookup SET MIN_API_VERSION = 5 WHERE MACRO_ACTION = 'Service-Macro-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 23
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439428;
UPDATE northbound_request_ref_lookup SET MIN_API_VERSION = 5 WHERE MACRO_ACTION = 'Service-Macro-Activate';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000066  Lock_time: 0.000032  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000833  Lock_time: 0.000065  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000064  Lock_time: 0.000032  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000079  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000025  Rows_sent: 23  Rows_examined: 23
# Rows_affected: 0  Bytes_sent: 4066
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000710  Lock_time: 0.000077  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000759  Lock_time: 0.000132  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000109  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 23
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439428;
UPDATE northbound_request_ref_lookup SET MIN_API_VERSION = 5 WHERE MACRO_ACTION = 'Service-Macro-Deactivate';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000087  Lock_time: 0.000043  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000779  Lock_time: 0.000080  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000085  Lock_time: 0.000044  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000686  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000027  Rows_sent: 24  Rows_examined: 24
# Rows_affected: 0  Bytes_sent: 4200
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000671  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000109  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000097  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000748  Lock_time: 0.000096  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 24
# Rows_affected: 1  Bytes_sent: 13
SET timestamp=1625439428;
INSERT INTO orchestration_flow_reference(COMPOSITE_ACTION, SEQ_NO, FLOW_NAME, FLOW_VERSION, NB_REQ_REF_LOOKUP_ID) VALUES
('Network-Update', '1', 'UpdateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Update'));
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000065  Lock_time: 0.000032  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000062  Lock_time: 0.000030  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000658  Lock_time: 0.000055  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000026  Rows_sent: 25  Rows_examined: 25
# Rows_affected: 0  Bytes_sent: 4353
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000891  Lock_time: 0.000120  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000117  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000067  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000085  Lock_time: 0.000043  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000067  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000063  Lock_time: 0.000032  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000033  Rows_sent: 26  Rows_examined: 26
# Rows_affected: 0  Bytes_sent: 4471
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000122  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000097  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000116  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000120  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000093  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000087  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000786  Lock_time: 0.000074  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000064  Lock_time: 0.000032  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000055  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000027  Rows_sent: 27  Rows_examined: 27
# Rows_affected: 0  Bytes_sent: 4638
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000066  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000986  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000080  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 305
# Rows_affected: 9  Bytes_sent: 52
SET timestamp=1625439428;
UPDATE orchestration_status_state_transition_directive SET TARGET_ACTION = "ACTIVATE" WHERE TARGET_ACTION = "ACTIVE";
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000066  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000671  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000062  Lock_time: 0.000031  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000728  Lock_time: 0.000053  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000125  Lock_time: 0.000027  Rows_sent: 28  Rows_examined: 28
# Rows_affected: 0  Bytes_sent: 4772
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000106  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000723  Lock_time: 0.000107  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000551  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 48
# Rows_affected: 2  Bytes_sent: 52
SET timestamp=1625439428;
INSERT INTO orchestration_flow_reference(COMPOSITE_ACTION, SEQ_NO, FLOW_NAME, FLOW_VERSION, NB_REQ_REF_LOOKUP_ID) 
VALUES
('Service-Macro-Delete', '1', 'DeactivateFabricConfigurationBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
('Service-Macro-Delete', '2', 'UnassignFabricConfigurationBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete'));
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000067  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000065  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000068  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000122  Lock_time: 0.000026  Rows_sent: 29  Rows_examined: 29
# Rows_affected: 0  Bytes_sent: 4902
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000677  Lock_time: 0.000057  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000699  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000110  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000703  Lock_time: 0.000636  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001869  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000068  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000041  Rows_sent: 30  Rows_examined: 30
# Rows_affected: 0  Bytes_sent: 5036
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000619  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000102  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000094  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000797  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000101  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001796  Lock_time: 0.000134  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000061  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000783  Lock_time: 0.000085  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000032  Rows_sent: 31  Rows_examined: 31
# Rows_affected: 0  Bytes_sent: 5143
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000798  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000919  Lock_time: 0.000147  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000138  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002015  Lock_time: 0.000149  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000074  Lock_time: 0.000039  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000692  Lock_time: 0.000065  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000025  Rows_sent: 32  Rows_examined: 32
# Rows_affected: 0  Bytes_sent: 5258
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000102  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001022  Lock_time: 0.000105  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000084  Lock_time: 0.000042  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000085  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000033  Rows_sent: 33  Rows_examined: 33
# Rows_affected: 0  Bytes_sent: 5358
SET timestamp=1625439428;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000094  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000526  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000125  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000797  Lock_time: 0.000108  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439428;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439428;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439428;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# Time: 210704 22:57:09
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002180  Lock_time: 0.000120  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000076  Lock_time: 0.000039  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000773  Lock_time: 0.000063  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000031  Rows_sent: 34  Rows_examined: 34
# Rows_affected: 0  Bytes_sent: 5456
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000066  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000098  Lock_time: 0.000060  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000757  Lock_time: 0.000089  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000110  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000076  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000076  Lock_time: 0.000038  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000722  Lock_time: 0.000088  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000072  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000683  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000028  Rows_sent: 35  Rows_examined: 35
# Rows_affected: 0  Bytes_sent: 5555
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000722  Lock_time: 0.000065  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000108  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000098  Lock_time: 0.000060  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000911  Lock_time: 0.000093  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000112  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002183  Lock_time: 0.000123  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000069  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000605  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000025  Rows_sent: 36  Rows_examined: 36
# Rows_affected: 0  Bytes_sent: 5683
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000101  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000095  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000671  Lock_time: 0.000084  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000073  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000875  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 150
# Rows_affected: 6  Bytes_sent: 52
SET timestamp=1625439429;
INSERT INTO orchestration_flow_reference(COMPOSITE_ACTION, SEQ_NO, FLOW_NAME, FLOW_VERSION, NB_REQ_REF_LOOKUP_ID) VALUES
('VFModule-ScaleOut', '1', 'GenericVnfHealthCheckBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-ScaleOut')),
('VFModule-ScaleOut', '2', 'AssignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-ScaleOut')),
('VFModule-ScaleOut', '3', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-ScaleOut')),
('VFModule-ScaleOut', '4', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-ScaleOut')),
('VFModule-ScaleOut', '5', 'ConfigurationScaleOutBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-ScaleOut')),
('VFModule-ScaleOut', '6', 'GenericVnfHealthCheckBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-ScaleOut'));
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000080  Lock_time: 0.000043  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000843  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000701  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000139  Lock_time: 0.000029  Rows_sent: 37  Rows_examined: 37
# Rows_affected: 0  Bytes_sent: 5830
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000633  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000769  Lock_time: 0.000088  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000118  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000072  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 20
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439429;
DELETE FROM catalogdb.service_recipe 
	where orchestration_uri = '/mso/async/services/CreateGenericMacroServiceNetworkVnf' 
		or orchestration_uri = '/mso/async/services/DeleteGenericMacroServiceNetworkVnf';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000069  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000070  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000026  Rows_sent: 38  Rows_examined: 38
# Rows_affected: 0  Bytes_sent: 5952
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000102  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000728  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000139  Lock_time: 0.000070  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001027  Lock_time: 0.000955  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001922  Lock_time: 0.000166  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000646  Lock_time: 0.000072  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000029  Rows_sent: 39  Rows_examined: 39
# Rows_affected: 0  Bytes_sent: 6075
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000076  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000922  Lock_time: 0.000132  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000117  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000092  Lock_time: 0.000047  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000801  Lock_time: 0.000089  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000085  Lock_time: 0.000043  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000748  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000033  Rows_sent: 40  Rows_examined: 40
# Rows_affected: 0  Bytes_sent: 6213
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000799  Lock_time: 0.000079  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000900  Lock_time: 0.000123  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000115  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002164  Lock_time: 0.000132  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000125  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000861  Lock_time: 0.000105  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000038  Rows_sent: 41  Rows_examined: 41
# Rows_affected: 0  Bytes_sent: 6314
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000972  Lock_time: 0.000093  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000106  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000707  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000097  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000042  Rows_sent: 0  Rows_examined: 25
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
update northbound_request_ref_lookup set ACTION='scaleOut' where MACRO_ACTION='VFModule-ScaleOut';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000074  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000724  Lock_time: 0.000064  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000085  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000741  Lock_time: 0.000062  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000030  Rows_sent: 42  Rows_examined: 42
# Rows_affected: 0  Bytes_sent: 6496
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000716  Lock_time: 0.000072  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000117  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000762  Lock_time: 0.000102  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000346  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000097  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002155  Lock_time: 0.000151  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000078  Lock_time: 0.000041  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000037  Rows_sent: 43  Rows_examined: 43
# Rows_affected: 0  Bytes_sent: 6621
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000065  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000792  Lock_time: 0.000126  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000761  Lock_time: 0.000658  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000122  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001032  Lock_time: 0.000109  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000098  Lock_time: 0.000049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000839  Lock_time: 0.000088  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000038  Rows_sent: 44  Rows_examined: 44
# Rows_affected: 0  Bytes_sent: 6757
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000850  Lock_time: 0.000088  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000871  Lock_time: 0.000139  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000384  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000146  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002014  Lock_time: 0.001748  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Rollback' WHERE FLOW_NAME = 'CreateNetworkBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000041  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Rollback' WHERE FLOW_NAME = 'CreateNetworkCollectionBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000037  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Rollback' WHERE FLOW_NAME = 'CreateVfModuleBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Rollback' WHERE FLOW_NAME = 'CreateVolumeGroupBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000037  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Abort' WHERE FLOW_NAME = 'DeleteNetworkBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Abort' WHERE FLOW_NAME = 'DeleteNetworkCollectionBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Abort' WHERE FLOW_NAME = 'DeleteVfModuleBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Abort' WHERE FLOW_NAME = 'DeleteVolumeGroupBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000039  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Abort' WHERE FLOW_NAME = 'UnassignNetwork1802BB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000039  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Abort' WHERE FLOW_NAME = 'UnassignNetworkBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000039  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Abort' WHERE FLOW_NAME = 'UnassignServiceInstanceBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000038  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Abort' WHERE FLOW_NAME = 'UnassignVfModuleBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000038  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Abort' WHERE FLOW_NAME = 'UnassignVnfBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000038  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Abort' WHERE FLOW_NAME = 'UnassignVolumeGroupBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000055  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Abort' WHERE FLOW_NAME = 'UpdateNetworkBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000038  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Abort' WHERE FLOW_NAME = 'VnfAdapterBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000118  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000991  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000097  Lock_time: 0.000049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000777  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000027  Rows_sent: 45  Rows_examined: 45
# Rows_affected: 0  Bytes_sent: 6909
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000064  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000115  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000748  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000109  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002190  Lock_time: 0.000166  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000069  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000754  Lock_time: 0.000057  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000026  Rows_sent: 46  Rows_examined: 46
# Rows_affected: 0  Bytes_sent: 7054
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000827  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000096  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000088  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001203  Lock_time: 0.001078  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Abort' WHERE FLOW_NAME = 'GenericVnfHealthCheckBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000031  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439429;
UPDATE rainy_day_handler_macro SET POLICY = 'Abort' WHERE FLOW_NAME = 'ConfigurationScaleOutBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000090  Lock_time: 0.000041  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000761  Lock_time: 0.000064  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000091  Lock_time: 0.000045  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000918  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000034  Rows_sent: 47  Rows_examined: 47
# Rows_affected: 0  Bytes_sent: 7207
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001379  Lock_time: 0.000078  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000109  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000104  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000752  Lock_time: 0.000099  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000094  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000835  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000067  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000692  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000027  Rows_sent: 48  Rows_examined: 48
# Rows_affected: 0  Bytes_sent: 7354
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000807  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000101  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000099  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000079  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002188  Lock_time: 0.000153  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000070  Lock_time: 0.000037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000735  Lock_time: 0.000057  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000026  Rows_sent: 49  Rows_examined: 49
# Rows_affected: 0  Bytes_sent: 7479
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000864  Lock_time: 0.000090  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000124  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002282  Lock_time: 0.001541  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001743  Lock_time: 0.001667  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000071  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000062  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000064  Lock_time: 0.000032  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000054  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000024  Rows_sent: 50  Rows_examined: 50
# Rows_affected: 0  Bytes_sent: 7595
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000626  Lock_time: 0.000055  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000096  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000091  Lock_time: 0.000057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000754  Lock_time: 0.000078  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000073  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 47
# Rows_affected: 11  Bytes_sent: 54
SET timestamp=1625439429;
update building_block_detail set RESOURCE_TYPE = "NO_VALIDATE" where RESOURCE_TYPE = "CUSTOM";
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000078  Lock_time: 0.000038  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000767  Lock_time: 0.000065  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000138  Lock_time: 0.000038  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000064  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000029  Rows_sent: 51  Rows_examined: 51
# Rows_affected: 0  Bytes_sent: 7732
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000066  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000101  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000092  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000110  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000071  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000075  Lock_time: 0.000037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000062  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000074  Lock_time: 0.000037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000660  Lock_time: 0.000063  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000029  Rows_sent: 52  Rows_examined: 52
# Rows_affected: 0  Bytes_sent: 7853
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000740  Lock_time: 0.000065  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000101  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000744  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000071  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000956  Lock_time: 0.000872  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002218  Lock_time: 0.000142  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000101  Lock_time: 0.000050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000803  Lock_time: 0.000105  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000058  Rows_sent: 53  Rows_examined: 53
# Rows_affected: 0  Bytes_sent: 7982
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000833  Lock_time: 0.000088  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000865  Lock_time: 0.000125  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000094  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.003478  Lock_time: 0.003266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 50
SET timestamp=1625439429;
INSERT INTO catalogdb.service_proxy_customization_temp (model_customization_uuid,model_instance_name,model_uuid,model_invariant_uuid,model_version,model_name,tosca_node_type,description,source_service_model_uuid)
SELECT T1.model_customization_uuid, T1.model_instance_name,T2.model_uuid, T2.model_invariant_uuid, T2.model_version, T2.model_name, T1.tosca_node_type, T2.description, T1.source_service_model_uuid
  FROM catalogdb.service_proxy_customization T1 
  JOIN catalogdb.service_proxy T2 ON T1.service_proxy_model_uuid = T2.model_uuid;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002034  Lock_time: 0.000132  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000067  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000025  Rows_sent: 54  Rows_examined: 54
# Rows_affected: 0  Bytes_sent: 8086
SET timestamp=1625439429;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000070  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000114  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000104  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000775  Lock_time: 0.000138  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439429;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439429;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000100  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439429;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# Time: 210704 22:57:10
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002070  Lock_time: 0.000169  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000069  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000678  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000027  Rows_sent: 55  Rows_examined: 55
# Rows_affected: 0  Bytes_sent: 8219
SET timestamp=1625439430;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000064  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000691  Lock_time: 0.000115  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000087  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439430;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002120  Lock_time: 0.000147  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000081  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000080  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000027  Rows_sent: 56  Rows_examined: 56
# Rows_affected: 0  Bytes_sent: 8371
SET timestamp=1625439430;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000697  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000117  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000743  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000094  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439430;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000096  Lock_time: 0.000045  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000798  Lock_time: 0.000073  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000073  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000669  Lock_time: 0.000057  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000028  Rows_sent: 57  Rows_examined: 57
# Rows_affected: 0  Bytes_sent: 8503
SET timestamp=1625439430;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000670  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000107  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439430;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001918  Lock_time: 0.000139  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000065  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000655  Lock_time: 0.000055  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000026  Rows_sent: 58  Rows_examined: 58
# Rows_affected: 0  Bytes_sent: 8638
SET timestamp=1625439430;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000057  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000114  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000099  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000820  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439430;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439430;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439430;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439430;
DELETE FROM vf_module_customization WHERE vf_module_model_uuid NOT IN (SELECT model_uuid FROM vf_module);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.004256  Lock_time: 0.003945  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 50
SET timestamp=1625439430;
-- Migrate linkage between VNF/Services, re-add foreign key
INSERT INTO vnf_resource_customization (SELECT vrc.MODEL_CUSTOMIZATION_UUID,vrc.MODEL_INSTANCE_NAME, vrc.MIN_INSTANCES,vrc.MAX_INSTANCES,vrc.AVAILABILITY_ZONE_MAX_COUNT,vrc.NF_TYPE,vrc.NF_ROLE,vrc.NF_FUNCTION,
vrc.NF_NAMING_CODE,vrc.MULTI_STAGE_DESIGN,vrc.CREATION_TIMESTAMP, vrc.VNF_RESOURCE_MODEL_UUID,vrc.INSTANCE_GROUP_MODEL_UUID,NULL,crcs.SERVICE_MODEL_UUID from vnf_resource_customization vrc, vnf_resource_customization_to_service crcs, service srv WHERE crcs.RESOURCE_MODEL_CUSTOMIZATION_UUID = vrc.MODEL_CUSTOMIZATION_UUID AND srv.MODEL_UUID=crcs.SERVICE_MODEL_UUID);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000062  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439430;
DELETE FROM vnf_resource_customization where SERVICE_MODEL_UUID IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.003632  Lock_time: 0.003401  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 50
SET timestamp=1625439430;
INSERT INTO vnfc_instance_group_customization 
(SELECT vnfcgroup.VNF_RESOURCE_CUSTOMIZATION_MODEL_UUID, vnfcgroup.INSTANCE_GROUP_MODEL_UUID, vnfcgroup.FUNCTION, vnfcgroup.DESCRIPTION, vnfcgroup.CREATION_TIMESTAMP, vnfrc.ID
FROM vnfc_instance_group_customization vnfcgroup, vnf_resource_customization vnfrc
WHERE vnfrc.MODEL_CUSTOMIZATION_UUID = vnfcgroup.VNF_RESOURCE_CUSTOMIZATION_MODEL_UUID);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000062  Lock_time: 0.000030  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439430;
DELETE FROM vnfc_instance_group_customization where VNF_RESOURCE_CUSTOMIZATION_ID IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002672  Lock_time: 0.002387  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 50
SET timestamp=1625439430;
-- Migrate linkage between VNF/VFMODULEs, re-add foreign key
INSERT INTO vf_module_customization 
(SELECT vmc.MODEL_CUSTOMIZATION_UUID, vmc.LABEL, vmc.INITIAL_COUNT, vmc.MIN_INSTANCES, vmc.MAX_INSTANCES, vmc.AVAILABILITY_ZONE_COUNT, vmc.HEAT_ENVIRONMENT_ARTIFACT_UUID, vmc.VOL_ENVIRONMENT_ARTIFACT_UUID, vmc.CREATION_TIMESTAMP, vmc.VF_MODULE_MODEL_UUID, NULL,vnfrc.ID
FROM vf_module_customization vmc, vnf_res_custom_to_vf_module_custom vnfcvf, vnf_resource_customization vnfrc
WHERE vnfcvf.VF_MODULE_CUST_MODEL_CUSTOMIZATION_UUID = vmc.MODEL_CUSTOMIZATION_UUID AND vnfrc.MODEL_CUSTOMIZATION_UUID=vnfcvf.VNF_RESOURCE_CUST_MODEL_CUSTOMIZATION_UUID);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000060  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439430;
DELETE FROM vf_module_customization where VNF_RESOURCE_CUSTOMIZATION_ID IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.003160  Lock_time: 0.002961  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439430;
UPDATE cvnfc_customization as cvnfcc 
JOIN vf_module_vnf AS vfmvnf 
  ON vfmvnf.model_customization_uuid = cvnfcc.VF_MODULE_CUST_MODEL_CUSTOMIZATION_UUID
  	 AND cvnfcc.VNF_RESOURCE_CUST_MODEL_CUSTOMIZATION_UUID=vfmvnf.VNF_MODEL_CUST_UUID
SET cvnfcc.VF_MODULE_CUSTOMIZATION_ID = vfmvnf.vf_module_id;
# Time: 210704 22:57:11
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002321  Lock_time: 0.000151  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000071  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000026  Rows_sent: 59  Rows_examined: 59
# Rows_affected: 0  Bytes_sent: 8757
SET timestamp=1625439431;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000678  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000986  Lock_time: 0.000146  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000115  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439431;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001899  Lock_time: 0.000134  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000072  Lock_time: 0.000037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000027  Rows_sent: 60  Rows_examined: 60
# Rows_affected: 0  Bytes_sent: 8884
SET timestamp=1625439431;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000667  Lock_time: 0.000071  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000111  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000781  Lock_time: 0.000121  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000092  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439431;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000958  Lock_time: 0.000849  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002234  Lock_time: 0.000144  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000074  Lock_time: 0.000039  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000659  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000025  Rows_sent: 61  Rows_examined: 61
# Rows_affected: 0  Bytes_sent: 8992
SET timestamp=1625439431;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000096  Lock_time: 0.000060  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000825  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000139  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000077  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439431;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001843  Lock_time: 0.000116  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000088  Lock_time: 0.000039  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000620  Lock_time: 0.000063  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000028  Rows_sent: 62  Rows_examined: 62
# Rows_affected: 0  Bytes_sent: 9119
SET timestamp=1625439431;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000616  Lock_time: 0.000064  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000122  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000115  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000115  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000073  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439431;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 446  Schema:   QC_hit: No
# Query_time: 0.001995  Lock_time: 0.001827  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439431;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 446  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439431;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002202  Lock_time: 0.000128  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000928  Lock_time: 0.000135  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000062  Rows_sent: 63  Rows_examined: 63
# Rows_affected: 0  Bytes_sent: 9246
SET timestamp=1625439431;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000745  Lock_time: 0.000084  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000096  Lock_time: 0.000061  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000680  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000139  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000072  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439431;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002135  Lock_time: 0.000114  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000069  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000026  Rows_sent: 64  Rows_examined: 64
# Rows_affected: 0  Bytes_sent: 9368
SET timestamp=1625439431;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000102  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000088  Lock_time: 0.000054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000093  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439431;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000106  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439431;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000073  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439431;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.004262  Lock_time: 0.004016  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 50
SET timestamp=1625439431;
/* Migrate the existing data */
INSERT INTO tmp_configuration_customization 
(`model_customization_uuid` ,
		  `model_instance_name`,
		  `configuration_type` ,
		  `configuration_role` ,
		  `configuration_function` ,
		  `creation_timestamp` ,
		  `configuration_model_uuid` ,
		  `service_proxy_customization_model_customization_uuid` ,
		  `service_model_uuid`)
SELECT `config`.`model_customization_uuid`,
    `config`.`model_instance_name`,
    `config`.`configuration_type`,
    `config`.`configuration_role`,
    `config`.`configuration_function`,
    `config`.`creation_timestamp`,
    `config`.`configuration_model_uuid`,
    `config`.`service_proxy_customization_model_customization_uuid`,
    `svc`.`model_uuid` service_model_uuid FROM
    configuration_customization config,
    service svc,
    configuration_customization_to_service config_svc
WHERE
    config_svc.service_model_uuid = svc.model_uuid
        AND config_svc.resource_model_customization_uuid = config.model_customization_uuid;
# Time: 210704 22:57:12
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001997  Lock_time: 0.000128  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000079  Lock_time: 0.000044  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000669  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000027  Rows_sent: 65  Rows_examined: 65
# Rows_affected: 0  Bytes_sent: 9511
SET timestamp=1625439432;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000655  Lock_time: 0.000063  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000099  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000088  Lock_time: 0.000054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000724  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000110  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000181  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439432;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002420  Lock_time: 0.000134  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000082  Lock_time: 0.000043  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000833  Lock_time: 0.000073  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000037  Rows_sent: 66  Rows_examined: 66
# Rows_affected: 0  Bytes_sent: 9653
SET timestamp=1625439432;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000916  Lock_time: 0.000067  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000118  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000909  Lock_time: 0.000190  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000079  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439432;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.004068  Lock_time: 0.000266  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000890  Lock_time: 0.000116  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000041  Rows_sent: 67  Rows_examined: 67
# Rows_affected: 0  Bytes_sent: 9774
SET timestamp=1625439432;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001007  Lock_time: 0.000095  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000797  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439432;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002335  Lock_time: 0.000116  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000066  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000668  Lock_time: 0.000055  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000025  Rows_sent: 68  Rows_examined: 68
# Rows_affected: 0  Bytes_sent: 9904
SET timestamp=1625439432;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000705  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000103  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000095  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000776  Lock_time: 0.000085  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000094  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000065  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439432;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000982  Lock_time: 0.000900  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001991  Lock_time: 0.000176  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000080  Lock_time: 0.000046  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000027  Rows_sent: 69  Rows_examined: 69
# Rows_affected: 0  Bytes_sent: 10050
SET timestamp=1625439432;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000092  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439432;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002588  Lock_time: 0.000289  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000122  Lock_time: 0.000048  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000800  Lock_time: 0.000101  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000079  Rows_sent: 70  Rows_examined: 70
# Rows_affected: 0  Bytes_sent: 10185
SET timestamp=1625439432;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000818  Lock_time: 0.000084  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000138  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000865  Lock_time: 0.000208  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000131  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439432;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002321  Lock_time: 0.000126  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000070  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000086  Rows_sent: 71  Rows_examined: 71
# Rows_affected: 0  Bytes_sent: 10335
SET timestamp=1625439432;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000788  Lock_time: 0.000101  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000115  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000783  Lock_time: 0.000160  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439432;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000114  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439432;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000065  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439432;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# Time: 210704 22:57:13
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002040  Lock_time: 0.000111  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000083  Lock_time: 0.000045  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000026  Rows_sent: 72  Rows_examined: 72
# Rows_affected: 0  Bytes_sent: 10448
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000098  Lock_time: 0.000060  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000111  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000863  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000070  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002130  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000066  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000716  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000036  Rows_sent: 73  Rows_examined: 73
# Rows_affected: 0  Bytes_sent: 10583
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000627  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000099  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000090  Lock_time: 0.000056  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000098  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.003106  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000065  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001056  Lock_time: 0.000080  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000067  Rows_sent: 74  Rows_examined: 74
# Rows_affected: 0  Bytes_sent: 10704
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000106  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000714  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000139  Lock_time: 0.000070  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002634  Lock_time: 0.000438  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000080  Lock_time: 0.000046  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000705  Lock_time: 0.000075  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000029  Rows_sent: 75  Rows_examined: 75
# Rows_affected: 0  Bytes_sent: 10844
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000078  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000390  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000124  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001044  Lock_time: 0.000563  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002333  Lock_time: 0.000175  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000109  Lock_time: 0.000057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000788  Lock_time: 0.000095  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000038  Rows_sent: 76  Rows_examined: 76
# Rows_affected: 0  Bytes_sent: 10945
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000830  Lock_time: 0.000085  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000753  Lock_time: 0.000154  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000115  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000098  Lock_time: 0.000051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000754  Lock_time: 0.000089  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000093  Lock_time: 0.000048  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000787  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000053  Rows_sent: 77  Rows_examined: 77
# Rows_affected: 0  Bytes_sent: 11122
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000729  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000706  Lock_time: 0.000135  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000132  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.003863  Lock_time: 0.000157  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000089  Lock_time: 0.000052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000036  Rows_sent: 78  Rows_examined: 78
# Rows_affected: 0  Bytes_sent: 11260
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001347  Lock_time: 0.000118  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000817  Lock_time: 0.000146  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000109  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001558  Lock_time: 0.001454  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439433;
UPDATE cloud_sites SET SUPPORT_FABRIC = b'0' WHERE CLOUD_VERSION != '1.0.0';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000768  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000088  Lock_time: 0.000045  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000659  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000800  Lock_time: 0.000033  Rows_sent: 79  Rows_examined: 79
# Rows_affected: 0  Bytes_sent: 11375
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000706  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000817  Lock_time: 0.000133  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000112  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002247  Lock_time: 0.000149  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000102  Lock_time: 0.000045  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000664  Lock_time: 0.000078  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000031  Rows_sent: 80  Rows_examined: 80
# Rows_affected: 0  Bytes_sent: 11512
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000706  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000131  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000754  Lock_time: 0.000133  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000116  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002246  Lock_time: 0.000174  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000075  Lock_time: 0.000039  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000026  Rows_sent: 81  Rows_examined: 81
# Rows_affected: 0  Bytes_sent: 11651
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000114  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000683  Lock_time: 0.000095  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000078  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002056  Lock_time: 0.000158  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000069  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000024  Rows_sent: 82  Rows_examined: 82
# Rows_affected: 0  Bytes_sent: 11760
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000112  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000684  Lock_time: 0.000102  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000110  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000078  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001069  Lock_time: 0.000998  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002331  Lock_time: 0.000153  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000067  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000024  Rows_sent: 83  Rows_examined: 83
# Rows_affected: 0  Bytes_sent: 11873
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000670  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000101  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000091  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000683  Lock_time: 0.000089  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000103  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000136  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002572  Lock_time: 0.000118  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000069  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000708  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000025  Rows_sent: 84  Rows_examined: 84
# Rows_affected: 0  Bytes_sent: 12007
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000072  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000111  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000094  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000084  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000104  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002892  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000690  Lock_time: 0.000079  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000114  Rows_sent: 85  Rows_examined: 85
# Rows_affected: 0  Bytes_sent: 12182
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000115  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000713  Lock_time: 0.000147  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000075  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002320  Lock_time: 0.000187  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000067  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000644  Lock_time: 0.000057  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000026  Rows_sent: 86  Rows_examined: 86
# Rows_affected: 0  Bytes_sent: 12308
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000102  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000668  Lock_time: 0.000099  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000131  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000105  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002705  Lock_time: 0.000207  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000073  Lock_time: 0.000037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000950  Lock_time: 0.000063  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000034  Rows_sent: 87  Rows_examined: 87
# Rows_affected: 0  Bytes_sent: 12405
SET timestamp=1625439433;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000742  Lock_time: 0.000065  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000906  Lock_time: 0.000187  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439433;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000852  Lock_time: 0.000800  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439433;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000142  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439433;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# Time: 210704 22:57:14
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002302  Lock_time: 0.000154  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000085  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000729  Lock_time: 0.000062  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000028  Rows_sent: 88  Rows_examined: 88
# Rows_affected: 0  Bytes_sent: 12523
SET timestamp=1625439434;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000114  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000805  Lock_time: 0.000114  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000089  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439434;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000131  Lock_time: 0.000051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000790  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000068  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000057  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000024  Rows_sent: 89  Rows_examined: 89
# Rows_affected: 0  Bytes_sent: 12631
SET timestamp=1625439434;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000112  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000098  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000076  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439434;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002445  Lock_time: 0.000126  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000807  Lock_time: 0.000122  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000028  Rows_sent: 90  Rows_examined: 90
# Rows_affected: 0  Bytes_sent: 12764
SET timestamp=1625439434;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000075  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000742  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000092  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439434;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002345  Lock_time: 0.000136  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000074  Lock_time: 0.000038  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000773  Lock_time: 0.000065  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000027  Rows_sent: 91  Rows_examined: 91
# Rows_affected: 0  Bytes_sent: 12909
SET timestamp=1625439434;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000075  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000120  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000120  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000777  Lock_time: 0.000121  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439434;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.004367  Lock_time: 0.004221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE network_resource SET ORCHESTRATION_MODE = 'HEAT' WHERE ORCHESTRATION_MODE IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.003327  Lock_time: 0.003242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE vf_module_customization SET INITIAL_COUNT = '0' WHERE INITIAL_COUNT IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000062  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE vf_module_customization SET MIN_INSTANCES = '0' WHERE MIN_INSTANCES IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.004309  Lock_time: 0.004191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE workflow SET ARTIFACT_CHECKSUM = 'RECORD' WHERE ARTIFACT_CHECKSUM IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001139  Lock_time: 0.001094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE identity_services SET ADMIN_PROJECT_DOMAIN_NAME = 'Default' WHERE ADMIN_PROJECT_DOMAIN_NAME IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002831  Lock_time: 0.002740  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE vnf_resource_customization SET SKIP_POST_INSTANTIATION_CONFIGURATION = true WHERE SKIP_POST_INSTANTIATION_CONFIGURATION IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001128  Lock_time: 0.001077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE pnf_resource_customization SET SKIP_POST_INSTANTIATION_CONFIGURATION = true WHERE SKIP_POST_INSTANTIATION_CONFIGURATION IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000072  Lock_time: 0.000043  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE vnf_resource_customization SET NF_DATA_VALID = 0 WHERE NF_DATA_VALID IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001078  Lock_time: 0.001033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE cloud_sites SET SUPPORT_FABRIC = 1 WHERE SUPPORT_FABRIC IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.005350  Lock_time: 0.005189  Rows_sent: 0  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE service SET SKIP_POST_INSTANTIATION_CONFIGURATION = true WHERE SKIP_POST_INSTANTIATION_CONFIGURATION IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000083  Lock_time: 0.000047  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE vf_module_customization SET SKIP_POST_INSTANTIATION_CONFIGURATION = true WHERE SKIP_POST_INSTANTIATION_CONFIGURATION IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002987  Lock_time: 0.000223  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000131  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000966  Lock_time: 0.000113  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000048  Rows_sent: 92  Rows_examined: 92
# Rows_affected: 0  Bytes_sent: 13047
SET timestamp=1625439434;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001086  Lock_time: 0.000134  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001128  Lock_time: 0.000196  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000140  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439434;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.005167  Lock_time: 0.002472  Rows_sent: 0  Rows_examined: 25
# Rows_affected: 25  Bytes_sent: 11
SET timestamp=1625439434;
DELETE FROM northbound_request_ref_lookup;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000114  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439434;
DELETE FROM orchestration_flow_reference;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002894  Lock_time: 0.002453  Rows_sent: 0  Rows_examined: 44
# Rows_affected: 44  Bytes_sent: 11
SET timestamp=1625439434;
DELETE FROM rainy_day_handler_macro;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.002086  Lock_time: 0.001355  Rows_sent: 0  Rows_examined: 56
# Rows_affected: 56  Bytes_sent: 11
SET timestamp=1625439434;
DELETE FROM building_block_detail;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.004460  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 370
# Rows_affected: 370  Bytes_sent: 13
SET timestamp=1625439434;
DELETE FROM orchestration_status_state_transition_directive;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.072057  Lock_time: 0.008946  Rows_sent: 0  Rows_examined: 4375
# Rows_affected: 175  Bytes_sent: 54
SET timestamp=1625439434;
INSERT INTO orchestration_flow_reference(COMPOSITE_ACTION, SEQ_NO, FLOW_NAME, FLOW_VERSION, NB_REQ_REF_LOOKUP_ID) VALUES
('Service-Create', '1', 'AssignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Create', '2', 'ActivateServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Delete', '1', 'DeactivateServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Delete', '2', 'UnassignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Assign', '1', 'AssignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Assign', '2', 'AssignNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Assign', '3', 'AssignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Assign', '4', 'AssignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Assign', '5', 'AssignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Assign', '6', 'ConfigAssignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Activate', '1', 'CreateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Activate', '2', 'ActivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Activate', '3', 'CreateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Activate', '4', 'ActivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Activate', '5', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Activate', '6', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Activate', '7', 'ConfigDeployVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Activate', '8', 'ActivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Activate', '9', 'ActivateServiceInstance', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Unassign', '1', 'UnassignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Unassign', '2', 'UnassignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Unassign', '3', 'UnassignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Unassign', '4', 'UnassignNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Unassign', '5', 'UnassignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '1', 'AssignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '2', 'CreateNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '3', 'AssignNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '4', 'AssignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '5', 'AssignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '6', 'AssignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '7', 'ConfigAssignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '8', 'AssignPnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '9', 'WaitForPnfReadyBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '12', 'ActivatePnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '13', 'CreateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '14', 'ActivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '15', 'CreateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '16', 'ActivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '17', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '18', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '19', 'ConfigDeployVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '20', 'ActivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '21', 'ActivateNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Create', '22', 'ActivateServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '1', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '2', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '3', 'DeactivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '4', 'DeleteVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '5', 'DeactivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '6', 'DeactivatePnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '7', 'DeactivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '8', 'DeleteNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '9', 'DeactivateNetworkCollectionBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '10', 'DeleteNetworkCollectionBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '11', 'DeactivateServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '12', 'UnassignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '13', 'UnassignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '14', 'UnassignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '15', 'UnassignNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Service-Macro-Delete', '16', 'UnassignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Network-Create', '1', 'AssignNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Create' and CLOUD_OWNER = 'DEFAULT')),
('Network-Create', '2', 'CreateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Create' and CLOUD_OWNER = 'DEFAULT')),
('Network-Create', '3', 'ActivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Create' and CLOUD_OWNER = 'DEFAULT')),
('Network-Delete', '1', 'DeactivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Network-Delete', '2', 'DeleteNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Delete' and CLOUD_OWNER = 'DEFAULT')),
('Network-Delete', '3', 'UnassignNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Delete' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Create', '1', 'AssignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Create' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Create', '2', 'ActivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Create' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Delete', '1', 'DeactivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Delete' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Delete', '2', 'UnassignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Delete' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Recreate', '1', 'AAICheckVnfInMaintBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Recreate', '2', 'AAISetVnfInMaintBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Recreate', '3', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Recreate', '4', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Recreate', '5', 'DeactivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Recreate', '6', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Recreate', '7', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Recreate', '8', 'ActivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Recreate', '9', 'SDNOVnfHealthCheckBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Recreate', '10', 'AAIUnsetVnfInMaintBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Replace', '1', 'AAICheckVnfInMaintBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Replace', '2', 'AAISetVnfInMaintBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Replace', '5', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Replace', '6', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Replace', '7', 'DeactivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Replace', '8', 'ChangeModelVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Replace', '9', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Replace', '10', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Replace', '13', 'ChangeModelVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Replace', '14', 'ActivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Replace', '15', 'ChangeModelServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Replace', '16', 'SDNOVnfHealthCheckBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Macro-Replace', '17', 'AAIUnsetVnfInMaintBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VolumeGroup-Create', '1', 'AssignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Create' and CLOUD_OWNER = 'DEFAULT')),
('VolumeGroup-Create', '2', 'CreateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Create' and CLOUD_OWNER = 'DEFAULT')),
('VolumeGroup-Create', '3', 'ActivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Create' and CLOUD_OWNER = 'DEFAULT')),
('VolumeGroup-Delete', '1', 'DeactivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Delete' and CLOUD_OWNER = 'DEFAULT')),
('VolumeGroup-Delete', '2', 'DeleteVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Delete' and CLOUD_OWNER = 'DEFAULT')),
('VolumeGroup-Delete', '3', 'UnassignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Delete' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Create', '1', 'AssignVfModuleBB',  1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Create' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Create', '2', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Create' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Create', '3', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Create' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Delete', '3', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Delete' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Delete', '4', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Delete' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Delete', '5', 'UnassignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Delete' and CLOUD_OWNER = 'DEFAULT')),
('NetworkCollection-Macro-Create', '1', 'CreateNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('NetworkCollection-Macro-Create', '2', 'AssignNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('NetworkCollection-Macro-Create', '3', 'CreateNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('NetworkCollection-Macro-Create', '4', 'ActivateNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('NetworkCollection-Macro-Create', '5', 'ActivateNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create' and CLOUD_OWNER = 'DEFAULT')),
('NetworkCollection-Macro-Delete', '1', 'DeactivateNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('NetworkCollection-Macro-Delete', '2', 'DeleteNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('NetworkCollection-Macro-Delete', '3', 'UnassignNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('NetworkCollection-Macro-Delete', '4', 'DeactivateNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('NetworkCollection-Macro-Delete', '5', 'DeleteNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-ScaleOut', '1', 'GenericVnfHealthCheckBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-ScaleOut' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-ScaleOut', '2', 'AssignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-ScaleOut' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-ScaleOut', '3', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-ScaleOut' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-ScaleOut', '4', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-ScaleOut' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-ScaleOut', '5', 'ConfigurationScaleOutBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-ScaleOut' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-ScaleOut', '6', 'GenericVnfHealthCheckBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-ScaleOut' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace', '1', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace', '2', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace', '3', 'DeactivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace', '4', 'DeleteVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace', '5', 'UnassignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace', '6', 'UnassignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace', '7', 'AssignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace', '8', 'AssignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace', '9', 'CreateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace', '10', 'ActivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace', '11', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace', '12', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace', '13', 'ChangeModelVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace', '14', 'ChangeModelServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace-Retain-Assignments', '1', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace-Retain-Assignments' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace-Retain-Assignments', '2', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace-Retain-Assignments' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace-Retain-Assignments', '3', 'DeactivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace-Retain-Assignments' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace-Retain-Assignments', '4', 'DeleteVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace-Retain-Assignments' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace-Retain-Assignments', '5', 'UnassignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace-Retain-Assignments' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace-Retain-Assignments', '6', 'AssignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace-Retain-Assignments' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace-Retain-Assignments', '7', 'ChangeModelVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace-Retain-Assignments' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace-Retain-Assignments', '8', 'CreateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace-Retain-Assignments' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace-Retain-Assignments', '9', 'ActivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace-Retain-Assignments' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace-Retain-Assignments', '10', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace-Retain-Assignments' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace-Retain-Assignments', '11', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace-Retain-Assignments' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace-Retain-Assignments', '12', 'ChangeModelVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace-Retain-Assignments' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-Replace-Retain-Assignments', '13', 'ChangeModelServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Replace-Retain-Assignments' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '1', 'VNFCheckPserversLockedFlagActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '2', 'VNFCheckInMaintFlagActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '3', 'VNFSetInMaintFlagActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '4', 'VNFCheckClosedLoopDisabledFlagActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '5', 'VNFSetClosedLoopDisabledFlagActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '6', 'VNFLockActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '7', 'VNFUpgradePreCheckActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '8', 'VNFQuiesceTrafficActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '9', 'VNFStopActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '10', 'VNFSnapShotActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '11', 'VNFStartActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '12', 'VNFUpgradeBackupActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '13', 'VNFUpgradeSoftwareActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '14', 'VNFUpgradePostCheckActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '15', 'VNFResumeTrafficActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '16', 'VNFUnlockActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '17', 'VNFUnsetInMaintFlagActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-InPlaceUpdate', '18', 'VNFUnsetClosedLoopDisabledFlagActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-InPlaceUpdate' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Config-Update', '1', 'VNFCheckPserversLockedFlagActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Config-Update' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Config-Update', '2', 'VNFCheckInMaintFlagActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Config-Update' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Config-Update', '3', 'VNFSetInMaintFlagActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Config-Update' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Config-Update', '4', 'VNFSetClosedLoopDisabledFlagActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Config-Update' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Config-Update', '5', 'VNFHealthCheckActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Config-Update' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Config-Update', '6', 'VNFConfigModifyActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Config-Update' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Config-Update', '7', 'VNFHealthCheckActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Config-Update' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Config-Update', '8', 'VNFUnsetInMaintFlagActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Config-Update' and CLOUD_OWNER = 'DEFAULT')),
('VNF-Config-Update', '9', 'VNFUnsetClosedLoopDisabledFlagActivity', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Config-Update' and CLOUD_OWNER = 'DEFAULT'));
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 25
# Rows_affected: 1  Bytes_sent: 13
SET timestamp=1625439434;
INSERT INTO orchestration_flow_reference(COMPOSITE_ACTION, SEQ_NO, FLOW_NAME, FLOW_VERSION, NB_REQ_REF_LOOKUP_ID, SCOPE, ACTION) VALUES
('Service-Macro-Create', '10', 'ControllerExecutionBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT'), 'pnf', 'config-assign');
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000047  Rows_sent: 0  Rows_examined: 25
# Rows_affected: 1  Bytes_sent: 13
SET timestamp=1625439434;
INSERT INTO orchestration_flow_reference(COMPOSITE_ACTION, SEQ_NO, FLOW_NAME, FLOW_VERSION, NB_REQ_REF_LOOKUP_ID, SCOPE, ACTION) VALUES
('Service-Macro-Create', '11', 'ControllerExecutionBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create' and CLOUD_OWNER = 'DEFAULT'), 'pnf', 'config-deploy');
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000028  Rows_sent: 0  Rows_examined: 37
# Rows_affected: 3  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE building_block_detail
SET TARGET_ACTION = 'CHANGE_MODEL'
WHERE TARGET_ACTION = 'CHANGEMODEL';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000634  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 52
# Rows_affected: 2  Bytes_sent: 52
SET timestamp=1625439434;
INSERT INTO orchestration_flow_reference(COMPOSITE_ACTION, SEQ_NO, FLOW_NAME, FLOW_VERSION, NB_REQ_REF_LOOKUP_ID) VALUES
('VFModule-DeactivateAndCloudDelete', '1', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-DeactivateAndCloudDelete' and CLOUD_OWNER = 'DEFAULT')),
('VFModule-DeactivateAndCloudDelete', '2', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-DeactivateAndCloudDelete' and CLOUD_OWNER = 'DEFAULT'));
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000043  Rows_sent: 0  Rows_examined: 27
# Rows_affected: 1  Bytes_sent: 13
SET timestamp=1625439434;
INSERT INTO orchestration_flow_reference (COMPOSITE_ACTION, SEQ_NO, FLOW_NAME, FLOW_VERSION, NB_REQ_REF_LOOKUP_ID)
values ( 'Service-Macro-Deactivate', '1', 'DeactivateServiceInstanceBB', '1', (SELECT id FROM northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Deactivate' and CLOUD_OWNER = 'DEFAULT'));
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000032  Rows_sent: 0  Rows_examined: 27
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE northbound_request_ref_lookup SET MIN_API_VERSION = 5 WHERE MACRO_ACTION = 'Service-Macro-Create';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000038  Rows_sent: 0  Rows_examined: 27
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE northbound_request_ref_lookup SET MIN_API_VERSION = 5 WHERE MACRO_ACTION = 'Service-Macro-Delete';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 27
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE northbound_request_ref_lookup SET MIN_API_VERSION = 5 WHERE MACRO_ACTION = 'Service-Macro-Activate';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000046  Rows_sent: 0  Rows_examined: 27
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE northbound_request_ref_lookup SET MIN_API_VERSION = 5 WHERE MACRO_ACTION = 'Service-Macro-Deactivate';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000045  Rows_sent: 0  Rows_examined: 28
# Rows_affected: 1  Bytes_sent: 13
SET timestamp=1625439434;
INSERT INTO orchestration_flow_reference(COMPOSITE_ACTION, SEQ_NO, FLOW_NAME, FLOW_VERSION, NB_REQ_REF_LOOKUP_ID) VALUES
('Network-Update', '1', 'UpdateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Update' and CLOUD_OWNER = 'DEFAULT'));
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000713  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 312
# Rows_affected: 9  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE orchestration_status_state_transition_directive SET TARGET_ACTION = 'ACTIVATE' WHERE TARGET_ACTION = 'ACTIVE';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 10  Bytes_sent: 54
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Abort' WHERE POLICY = 'Rollback';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000026  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 12  Bytes_sent: 54
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Abort' WHERE POLICY = 'Abort';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000026  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Rollback' WHERE FLOW_NAME = 'CreateNetworkBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000039  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Rollback' WHERE FLOW_NAME = 'CreateNetworkCollectionBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'RollbackToAssigned' WHERE FLOW_NAME = 'CreateVfModuleBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000025  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Rollback' WHERE FLOW_NAME = 'CreateVolumeGroupBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000025  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Abort' WHERE FLOW_NAME = 'DeleteNetworkBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000046  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Abort' WHERE FLOW_NAME = 'DeleteNetworkCollectionBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000026  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Abort' WHERE FLOW_NAME = 'DeleteVfModuleBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000024  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Abort' WHERE FLOW_NAME = 'DeleteVolumeGroupBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000024  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Abort' WHERE FLOW_NAME = 'UnassignNetworkBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000024  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Abort' WHERE FLOW_NAME = 'UnassignServiceInstanceBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000024  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Abort' WHERE FLOW_NAME = 'UnassignVfModuleBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000024  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Abort' WHERE FLOW_NAME = 'UnassignVnfBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Abort' WHERE FLOW_NAME = 'UnassignVolumeGroupBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000024  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Rollback' WHERE FLOW_NAME = 'UpdateNetworkBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000023  Rows_sent: 0  Rows_examined: 39
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET Secondary_Policy = 'Rollback' WHERE FLOW_NAME = 'VnfAdapterBB';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000088  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 28
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE northbound_request_ref_lookup SET SERVICE_TYPE = '*' WHERE SERVICE_TYPE IS NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000800  Lock_time: 0.000024  Rows_sent: 0  Rows_examined: 41
# Rows_affected: 41  Bytes_sent: 54
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET reg_ex_error_message = '*' WHERE reg_ex_error_message IS null;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000744  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 41
# Rows_affected: 41  Bytes_sent: 54
SET timestamp=1625439434;
UPDATE rainy_day_handler_macro SET SERVICE_ROLE = '*' WHERE SERVICE_ROLE IS null;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 26
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE vnf_recipe
SET ORCHESTRATION_URI = '/mso/async/services/WorkflowActionBB'
WHERE NF_ROLE = 'GR-API-DEFAULT' AND ACTION = 'inPlaceSoftwareUpdate';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000027  Rows_sent: 0  Rows_examined: 26
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1625439434;
UPDATE vnf_recipe
SET ORCHESTRATION_URI = '/mso/async/services/WorkflowActionBB'
WHERE NF_ROLE = 'GR-API-DEFAULT' AND ACTION = 'applyUpdatedConfig';
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000096  Lock_time: 0.000048  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000067  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000070  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000879  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000030  Rows_sent: 93  Rows_examined: 93
# Rows_affected: 0  Bytes_sent: 13171
SET timestamp=1625439434;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000776  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001000  Lock_time: 0.000206  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001041  Lock_time: 0.000986  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000109  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439434;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000115  Lock_time: 0.000055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000873  Lock_time: 0.000095  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000093  Lock_time: 0.000046  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000889  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000036  Rows_sent: 94  Rows_examined: 94
# Rows_affected: 0  Bytes_sent: 13256
SET timestamp=1625439434;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001998  Lock_time: 0.000088  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 448  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439434;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 448  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439434;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.003925  Lock_time: 0.003872  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001702  Lock_time: 0.001026  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000139  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439434;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='catalogdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001382  Lock_time: 0.001332  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439434;
DELETE FROM activity_spec_to_activity_spec_parameters;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001108  Lock_time: 0.001076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439434;
DELETE FROM activity_spec_to_activity_spec_categories;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001138  Lock_time: 0.001106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439434;
DELETE FROM activity_spec_to_user_parameters;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001039  Lock_time: 0.001005  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439434;
DELETE FROM activity_spec;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000889  Lock_time: 0.000836  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439434;
DELETE FROM activity_spec_categories;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001013  Lock_time: 0.000979  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439434;
DELETE FROM activity_spec_parameters;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000884  Lock_time: 0.000848  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439434;
DELETE FROM user_parameters;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.001038  Lock_time: 0.000998  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439434;
DELETE FROM workflow;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000083  Lock_time: 0.000041  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000076  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000066  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000055  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000028  Rows_sent: 95  Rows_examined: 95
# Rows_affected: 0  Bytes_sent: 13374
SET timestamp=1625439434;
SELECT * FROM `catalogdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000618  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000090  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439434;
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 = 'catalogdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.150.17]
# Thread_id: 434  Schema: catalogdb  QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439434;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# Time: 210704 22:57:19
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.006891  Lock_time: 0.002080  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 560
use camundabpmn;
SET timestamp=1625439439;
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.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003776  Lock_time: 0.000157  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1625439439;
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.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001475  Lock_time: 0.000126  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 555
SET timestamp=1625439439;
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.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002591  Lock_time: 0.000114  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1625439439;
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.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001993  Lock_time: 0.000159  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1625439439;
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.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.004443  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439439;
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.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002411  Lock_time: 0.000129  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1625439439;
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.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003831  Lock_time: 0.000358  Rows_sent: 26  Rows_examined: 52
# Rows_affected: 0  Bytes_sent: 3734
SET timestamp=1625439439;
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: 210704 22:57:20
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003686  Lock_time: 0.002960  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 810
SET timestamp=1625439440;
select B.*
    from ACT_GE_BYTEARRAY B
    inner join
      (select B.NAME_, MAX(D.DEPLOY_TIME_) DEPLOY_TIME_
      from ACT_GE_BYTEARRAY B
        inner join ACT_RE_DEPLOYMENT D
        on B.DEPLOYMENT_ID_ = D.ID_
      where D.NAME_ = 'NS-WORKFLOW-ENGINE'
        and
         
          (D.SOURCE_ is null or
         
          D.SOURCE_ = 'process application'
         
          )
         
       
        and B.NAME_ in 
         (  
          'MonitorSol003AdapterTerminateNodeStatus.bpmn'
         , 
          'TerminateNs.bpmn'
         , 
          'CreateInstantiateVnf.bpmn'
         , 
          'TerminateVnf.bpmn'
         , 
          'DeleteNs.bpmn'
         , 
          'MonitorSol003AdapterCreateJob.bpmn'
         , 
          'CreateNs.bpmn'
         , 
          'InstantiateNs.bpmn'
         , 
          'MonitorSol003AdapterCreateNodeStatus.bpmn'
         , 
          'MonitorSol003AdapterTerminateJob.bpmn'
         ) 
       
      group by B.NAME_) LAST_RESOURCE
      
    on B.NAME_ = LAST_RESOURCE.NAME_
    inner join ACT_RE_DEPLOYMENT D
    on B.DEPLOYMENT_ID_ = D.ID_
    and D.DEPLOY_TIME_ = LAST_RESOURCE.DEPLOY_TIME_ 
    and D.NAME_ = 'NS-WORKFLOW-ENGINE'
    and
     
      (D.SOURCE_ is null or
     
      D.SOURCE_ = 'process application'
     
      )
     
     
      and D.TENANT_ID_ = 'ns-workflow-engine-tenant'
     
     
    order by B.ID_ asc;
# Time: 210704 22:57:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 451  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439441;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 451  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=1625439441;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:57:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 453  Schema:   QC_hit: No
# Query_time: 0.003817  Lock_time: 0.003743  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439444;
SELECT
		  page_size, compress_ops, 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.003734  Lock_time: 0.003671  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439444;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001254  Lock_time: 0.000617  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625439444;
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-07-04 22:57:24.922'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 22:57:24.922')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 22:57:24.922')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 22:57:29
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.004188  Lock_time: 0.001920  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625439449;
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-07-04 22:57:29.922'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 22:57:29.922')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 22:57:29.922')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 22:57:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 455  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439451;
SELECT
		  page_size, compress_ops, 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.000140  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439451;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:57:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 457  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439454;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 457  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439454;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:57:37
# User@Host: so_user[so_user] @  [10.242.138.233]
# Thread_id: 462  Schema: requestdb  QC_hit: No
# Query_time: 0.001473  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 92
use requestdb;
SET timestamp=1625439457;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 210704 22:57:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000669  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625439459;
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-07-04 22:57:39.924'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 22:57:39.924')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 22:57:39.924')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 22:57:40
# User@Host: so_user[so_user] @  [10.242.138.233]
# Thread_id: 458  Schema: catalogdb  QC_hit: No
# Query_time: 0.042947  Lock_time: 0.000270  Rows_sent: 0  Rows_examined: 72
# Rows_affected: 0  Bytes_sent: 92
use catalogdb;
SET timestamp=1625439460;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 210704 22:57:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 471  Schema:   QC_hit: No
# Query_time: 0.000863  Lock_time: 0.000720  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439461;
SELECT
                  page_size, buffer_pool_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.000207  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439461;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:57:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 472  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439464;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 472  Schema:   QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000080  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439464;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:57:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 475  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439471;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 475  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439471;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:57:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 477  Schema:   QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000394  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439474;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 477  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439474;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:57:59
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001643  Lock_time: 0.001197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625439479;
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-07-04 22:57:59.923'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 22:57:59.923')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 22:57:59.923')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 22:58:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 479  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439481;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 479  Schema:   QC_hit: No
# Query_time: 0.000885  Lock_time: 0.000839  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439481;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:58:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 481  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439484;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 481  Schema:   QC_hit: No
# Query_time: 0.000834  Lock_time: 0.000072  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439484;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:58:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 483  Schema:   QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439491;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 483  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439491;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:58:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 491  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439494;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 491  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439494;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:58:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 495  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439501;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 495  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439501;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:58:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 497  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439504;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 497  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439504;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:58:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 499  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439511;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 499  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439511;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:58:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 508  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439514;
SELECT
		  page_size, compress_ops, 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.000165  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439514;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:58:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002528  Lock_time: 0.001618  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625439519;
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-07-04 22:58:39.925'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 22:58:39.925')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 22:58:39.925')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 22:58:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 510  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439521;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 510  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=1625439521;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:58:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 512  Schema:   QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000371  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439524;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 512  Schema:   QC_hit: No
# Query_time: 0.000136  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439524;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:58:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 519  Schema:   QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000350  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439531;
SELECT
                  page_size, buffer_pool_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.000273  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439531;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:58:53
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.049010  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 47
# Rows_affected: 0  Bytes_sent: 92
SET timestamp=1625439533;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 210704 22:58:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 521  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439534;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 521  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439534;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:58:57
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001458  Lock_time: 0.001154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 92
use requestdb;
SET timestamp=1625439537;
SELECT event_name FROM information_schema.events LIMIT 1;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000291  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439537;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001163  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000875  Lock_time: 0.000280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000267  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439537;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.004081  Lock_time: 0.003804  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 57
SET timestamp=1625439537;
SELECT SUM(found) FROM ((SELECT 1 as found FROM information_schema.tables WHERE table_schema='requestdb') UNION ALL (SELECT 1 as found FROM information_schema.views WHERE table_schema='requestdb' LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.table_constraints WHERE table_schema='requestdb' LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.triggers WHERE event_object_schema='requestdb'  LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.routines WHERE routine_schema='requestdb' LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.events WHERE event_schema='requestdb' LIMIT 1)) as all_found;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000150  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439537;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000720  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001987  Lock_time: 0.000295  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000854  Lock_time: 0.000192  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000107  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439537;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001105  Lock_time: 0.000183  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000080  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000603  Lock_time: 0.000071  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000080  Lock_time: 0.000029  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 976
SET timestamp=1625439537;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000073  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000961  Lock_time: 0.000257  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000214  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439537;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001510  Lock_time: 0.000217  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000068  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000128  Lock_time: 0.000027  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 1068
SET timestamp=1625439537;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000065  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000706  Lock_time: 0.000142  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000140  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439537;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001172  Lock_time: 0.000185  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000074  Lock_time: 0.000038  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000073  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000111  Lock_time: 0.000032  Rows_sent: 2  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 1201
SET timestamp=1625439537;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000118  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439537;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000810  Lock_time: 0.000158  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439537;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# Time: 210704 22:58:58
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000169  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.002305  Lock_time: 0.002090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439538;
delete from infra_active_requests where source != 'VID' and source != 'POLO';
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1625439538;
delete from infra_active_requests where request_body like '<%';
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000887  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000067  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000680  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000110  Lock_time: 0.000030  Rows_sent: 3  Rows_examined: 3
# Rows_affected: 0  Bytes_sent: 1312
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000914  Lock_time: 0.000205  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000165  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001284  Lock_time: 0.000221  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000097  Lock_time: 0.000048  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000088  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000032  Rows_sent: 4  Rows_examined: 4
# Rows_affected: 0  Bytes_sent: 1440
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000064  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001042  Lock_time: 0.000220  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000160  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001583  Lock_time: 0.000251  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000878  Lock_time: 0.000183  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000052  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 1579
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000876  Lock_time: 0.000133  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001020  Lock_time: 0.000233  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000285  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001340  Lock_time: 0.000248  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000119  Lock_time: 0.000060  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000044  Rows_sent: 6  Rows_examined: 6
# Rows_affected: 0  Bytes_sent: 1695
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000778  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000901  Lock_time: 0.000216  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000170  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001294  Lock_time: 0.000146  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000119  Lock_time: 0.000052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000676  Lock_time: 0.000087  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000039  Rows_sent: 7  Rows_examined: 7
# Rows_affected: 0  Bytes_sent: 1783
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000780  Lock_time: 0.000088  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000751  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000093  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001177  Lock_time: 0.000223  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000073  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000074  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000102  Lock_time: 0.000026  Rows_sent: 8  Rows_examined: 8
# Rows_affected: 0  Bytes_sent: 1919
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000067  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000109  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000603  Lock_time: 0.000120  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000098  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001257  Lock_time: 0.000186  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000070  Lock_time: 0.000037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000055  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000025  Rows_sent: 9  Rows_examined: 9
# Rows_affected: 0  Bytes_sent: 2045
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000833  Lock_time: 0.000157  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000185  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001463  Lock_time: 0.000241  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000071  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000108  Lock_time: 0.000027  Rows_sent: 10  Rows_examined: 10
# Rows_affected: 0  Bytes_sent: 2152
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000062  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000198  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000180  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001820  Lock_time: 0.000317  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000097  Lock_time: 0.000053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000070  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000117  Lock_time: 0.000029  Rows_sent: 11  Rows_examined: 11
# Rows_affected: 0  Bytes_sent: 2329
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000797  Lock_time: 0.000192  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000118  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001050  Lock_time: 0.000149  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000068  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000111  Lock_time: 0.000027  Rows_sent: 12  Rows_examined: 12
# Rows_affected: 0  Bytes_sent: 2483
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000070  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000107  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001208  Lock_time: 0.000201  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000091  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000065  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000034  Rows_sent: 13  Rows_examined: 13
# Rows_affected: 0  Bytes_sent: 2621
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000064  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000799  Lock_time: 0.000140  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000087  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001246  Lock_time: 0.000130  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000080  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000068  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000029  Rows_sent: 14  Rows_examined: 14
# Rows_affected: 0  Bytes_sent: 2739
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000788  Lock_time: 0.000065  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000115  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000112  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001339  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000118  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000084  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001662  Lock_time: 0.000243  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000700  Lock_time: 0.000112  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000111  Lock_time: 0.000028  Rows_sent: 15  Rows_examined: 15
# Rows_affected: 0  Bytes_sent: 2893
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000084  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000139  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000180  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001338  Lock_time: 0.000201  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000102  Lock_time: 0.000051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000824  Lock_time: 0.000089  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000040  Rows_sent: 16  Rows_examined: 16
# Rows_affected: 0  Bytes_sent: 3026
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000780  Lock_time: 0.000084  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000913  Lock_time: 0.000207  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000147  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001198  Lock_time: 0.000138  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000083  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000058  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000117  Lock_time: 0.000027  Rows_sent: 17  Rows_examined: 17
# Rows_affected: 0  Bytes_sent: 3164
SET timestamp=1625439538;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000928  Lock_time: 0.000147  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439538;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439538;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000094  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439538;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# Time: 210704 22:58:59
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001225  Lock_time: 0.000148  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000067  Lock_time: 0.000034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000056  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000043  Rows_sent: 18  Rows_examined: 18
# Rows_affected: 0  Bytes_sent: 3302
SET timestamp=1625439539;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000062  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000644  Lock_time: 0.000122  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439539;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001303  Lock_time: 0.000145  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000083  Lock_time: 0.000047  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000072  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000027  Rows_sent: 19  Rows_examined: 19
# Rows_affected: 0  Bytes_sent: 3433
SET timestamp=1625439539;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000707  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439539;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001785  Lock_time: 0.001683  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.005539  Lock_time: 0.004067  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000103  Lock_time: 0.000057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000771  Lock_time: 0.000098  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000035  Rows_sent: 20  Rows_examined: 20
# Rows_affected: 0  Bytes_sent: 3574
SET timestamp=1625439539;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000673  Lock_time: 0.000101  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000776  Lock_time: 0.000168  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000190  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439539;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001190  Lock_time: 0.000144  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000081  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000030  Rows_sent: 21  Rows_examined: 21
# Rows_affected: 0  Bytes_sent: 3701
SET timestamp=1625439539;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000066  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000897  Lock_time: 0.000187  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000157  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439539;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001439  Lock_time: 0.000185  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000097  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000064  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000051  Rows_sent: 22  Rows_examined: 22
# Rows_affected: 0  Bytes_sent: 3860
SET timestamp=1625439539;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000737  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000791  Lock_time: 0.000128  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000130  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439539;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001370  Lock_time: 0.000215  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000079  Lock_time: 0.000043  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000699  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000029  Rows_sent: 23  Rows_examined: 23
# Rows_affected: 0  Bytes_sent: 3996
SET timestamp=1625439539;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000596  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000110  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000136  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000917  Lock_time: 0.000139  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000124  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000079  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439539;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001299  Lock_time: 0.000148  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000073  Lock_time: 0.000038  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000063  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000042  Rows_sent: 24  Rows_examined: 24
# Rows_affected: 0  Bytes_sent: 4179
SET timestamp=1625439539;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000689  Lock_time: 0.000079  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001030  Lock_time: 0.000149  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000115  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439539;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001397  Lock_time: 0.000184  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000076  Lock_time: 0.000037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000028  Rows_sent: 25  Rows_examined: 25
# Rows_affected: 0  Bytes_sent: 4379
SET timestamp=1625439539;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000099  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000087  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000128  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000102  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439539;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001159  Lock_time: 0.000118  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000085  Lock_time: 0.000042  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000068  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000028  Rows_sent: 26  Rows_examined: 26
# Rows_affected: 0  Bytes_sent: 4535
SET timestamp=1625439539;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000067  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000106  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000128  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000112  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439539;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001447  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000083  Lock_time: 0.000044  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000031  Rows_sent: 27  Rows_examined: 27
# Rows_affected: 0  Bytes_sent: 4716
SET timestamp=1625439539;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000118  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000796  Lock_time: 0.000129  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000112  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439539;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001798  Lock_time: 0.001686  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439539;
UPDATE request_processing_data 
SET IS_DATA_INTERNAL = 1
WHERE TAG = 'BPMNExecutionData';
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000098  Lock_time: 0.000037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439539;
UPDATE request_processing_data 
SET IS_DATA_INTERNAL = 0
WHERE TAG = 'StackInformation' OR TAG = 'pincFabricConfigRequest';
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000079  Lock_time: 0.000042  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000763  Lock_time: 0.000079  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000106  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000771  Lock_time: 0.000078  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000033  Rows_sent: 28  Rows_examined: 28
# Rows_affected: 0  Bytes_sent: 4840
SET timestamp=1625439539;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000074  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000125  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000789  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000104  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439539;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001391  Lock_time: 0.000169  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000814  Lock_time: 0.000076  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000042  Rows_sent: 29  Rows_examined: 29
# Rows_affected: 0  Bytes_sent: 4966
SET timestamp=1625439539;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000072  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000778  Lock_time: 0.000214  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439539;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439539;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000211  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439539;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# Time: 210704 22:59:00
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001325  Lock_time: 0.000143  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000093  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000029  Rows_sent: 30  Rows_examined: 30
# Rows_affected: 0  Bytes_sent: 5133
SET timestamp=1625439540;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000065  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.002313  Lock_time: 0.002260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.004244  Lock_time: 0.003456  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439540;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001861  Lock_time: 0.001793  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001466  Lock_time: 0.000188  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000101  Lock_time: 0.000055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000031  Rows_sent: 31  Rows_examined: 31
# Rows_affected: 0  Bytes_sent: 5293
SET timestamp=1625439540;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000076  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000114  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000834  Lock_time: 0.000102  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000128  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000128  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439540;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001506  Lock_time: 0.000208  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000071  Lock_time: 0.000037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000028  Rows_sent: 32  Rows_examined: 32
# Rows_affected: 0  Bytes_sent: 5457
SET timestamp=1625439540;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000136  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000124  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000102  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439540;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001467  Lock_time: 0.000206  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000091  Lock_time: 0.000049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000060  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000030  Rows_sent: 33  Rows_examined: 33
# Rows_affected: 0  Bytes_sent: 5616
SET timestamp=1625439540;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000071  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000752  Lock_time: 0.000169  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000136  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439540;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001511  Lock_time: 0.000297  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000091  Lock_time: 0.000054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000774  Lock_time: 0.000109  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000030  Rows_sent: 34  Rows_examined: 34
# Rows_affected: 0  Bytes_sent: 5751
SET timestamp=1625439540;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000061  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001011  Lock_time: 0.000223  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000171  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439540;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.002110  Lock_time: 0.001935  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439540;
UPDATE infra_active_requests SET request_status='COMPLETE' where request_status = 'COMPLETED';
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001420  Lock_time: 0.001307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1625439540;
UPDATE archived_infra_requests SET request_status='COMPLETE' where request_status = 'COMPLETED';
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000092  Lock_time: 0.000047  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000775  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000071  Lock_time: 0.000036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000059  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000027  Rows_sent: 35  Rows_examined: 35
# Rows_affected: 0  Bytes_sent: 5880
SET timestamp=1625439540;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000620  Lock_time: 0.000064  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001014  Lock_time: 0.000204  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000152  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 129
SET timestamp=1625439540;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='requestdb' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.001324  Lock_time: 0.000208  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000071  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000121  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000046  Rows_sent: 36  Rows_examined: 36
# Rows_affected: 0  Bytes_sent: 6002
SET timestamp=1625439540;
SELECT * FROM `requestdb`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000726  Lock_time: 0.000078  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000945  Lock_time: 0.000223  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439540;
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 = 'requestdb') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.8.221]
# Thread_id: 525  Schema: requestdb  QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1625439540;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# Time: 210704 22:59:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 528  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439541;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 528  Schema:   QC_hit: No
# Query_time: 0.000096  Lock_time: 0.000060  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439541;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:59:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 530  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439544;
SELECT
		  page_size, compress_ops, 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.000165  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439544;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:59:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 532  Schema:   QC_hit: No
# Query_time: 0.000139  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439551;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 532  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439551;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:59:14
# User@Host: so_user[so_user] @  [10.242.8.220]
# Thread_id: 533  Schema: requestdb  QC_hit: No
# Query_time: 0.013641  Lock_time: 0.000414  Rows_sent: 0  Rows_examined: 16
# Rows_affected: 0  Bytes_sent: 92
SET timestamp=1625439554;
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: 538  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439554;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 538  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439554;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:59:15
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002889  Lock_time: 0.001543  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 560
use camundabpmn;
SET timestamp=1625439555;
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.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001056  Lock_time: 0.000197  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1625439555;
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.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001096  Lock_time: 0.000193  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 555
SET timestamp=1625439555;
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.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000949  Lock_time: 0.000151  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1625439555;
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.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001072  Lock_time: 0.000178  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1625439555;
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.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000862  Lock_time: 0.000143  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625439555;
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.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000934  Lock_time: 0.000156  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1625439555;
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.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002058  Lock_time: 0.000335  Rows_sent: 26  Rows_examined: 52
# Rows_affected: 0  Bytes_sent: 3734
SET timestamp=1625439555;
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: 210704 22:59:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 540  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439561;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 540  Schema:   QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439561;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:59:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 542  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439564;
SELECT
		  page_size, compress_ops, 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.000381  Lock_time: 0.000273  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439564;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:59:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 544  Schema:   QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439571;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 544  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439571;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:59:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 546  Schema:   QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439574;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 546  Schema:   QC_hit: No
# Query_time: 0.000108  Lock_time: 0.000072  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439574;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:59:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001230  Lock_time: 0.000837  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625439579;
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-07-04 22:59:39.959'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 22:59:39.959')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 22:59:39.959')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 22:59:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 548  Schema:   QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439581;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 548  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439581;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:59:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 550  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439584;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 550  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439584;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 22:59:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 552  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439591;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 552  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439591;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:59:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 554  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439594;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 554  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439594;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 22:59:59
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001109  Lock_time: 0.000649  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625439599;
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-07-04 22:59:59.231'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 22:59:59.231')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 22:59:59.231')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:00:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 557  Schema:   QC_hit: No
# Query_time: 0.000884  Lock_time: 0.000751  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439601;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 557  Schema:   QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439601;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:00:04
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001600  Lock_time: 0.001300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625439604;
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-07-04 23:00:04.226'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:00:04.226')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:00:04.226')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 559  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=1625439604;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 559  Schema:   QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439604;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:00:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 561  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439611;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 561  Schema:   QC_hit: No
# Query_time: 0.006679  Lock_time: 0.006606  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439611;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:00:14
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.057704  Lock_time: 0.057360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625439614;
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-07-04 23:00:14.231'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:00:14.231')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:00:14.231')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 563  Schema:   QC_hit: No
# Query_time: 0.000184  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439614;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 563  Schema:   QC_hit: No
# Query_time: 0.000117  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439614;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:00:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 565  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439621;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 565  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439621;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:00:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625439623;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:00:22.587226' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:00:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439624;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:00:23.535679' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 567  Schema:   QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000305  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439624;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 567  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439624;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:00:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439625;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:00:24.545359' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:00:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439626;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:00:25.537888' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:00:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439629;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:00:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439630;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:00:29.534923' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:00:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439631;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 569  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=1625439631;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 569  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439631;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:00:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000605  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439632;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:00:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439633;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:00:34
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001581  Lock_time: 0.001254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625439634;
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-07-04 23:00:34.233'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:00:34.233')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:00:34.233')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  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
use vid_openecomp_epsdk;
SET timestamp=1625439634;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:00:33.535401' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 571  Schema:   QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439634;
SELECT
                  page_size, buffer_pool_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.000143  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439634;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:00:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  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=1625439635;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:00:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001523  Lock_time: 0.001087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439637;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:00:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439638;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:00:37.534459' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:00:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001413  Lock_time: 0.000625  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625439639;
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-07-04 23:00:39.926'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:00:39.926')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:00:39.926')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:00:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625439640;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:00:39.72517' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:00:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439641;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 573  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439641;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 573  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439641;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:00:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000645  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439642;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:00:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 575  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439644;
SELECT
		  page_size, compress_ops, 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.000324  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439644;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:00:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 577  Schema:   QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000285  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439651;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 577  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439651;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:00:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 579  Schema:   QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439654;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 579  Schema:   QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439654;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:01:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 581  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=1625439661;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 581  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439661;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:01:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 583  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439664;
SELECT
                  page_size, buffer_pool_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.000258  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439664;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:01:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 585  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439671;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 585  Schema:   QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439671;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:01:14
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.008997  Lock_time: 0.008361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625439674;
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-07-04 23:01:14.233'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:01:14.233')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 587  Schema:   QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439674;
SELECT
		  page_size, compress_ops, 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.000114  Lock_time: 0.000073  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439674;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:01:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 589  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439681;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 589  Schema:   QC_hit: No
# Query_time: 0.000131  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439681;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:01:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 591  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439684;
SELECT
                  page_size, buffer_pool_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.000247  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439684;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:01:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 593  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439691;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 593  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439691;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:01:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 595  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439694;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 595  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439694;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:01:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001857  Lock_time: 0.001425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625439699;
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-07-04 23:01:39.928'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:01:39.928')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:01:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 597  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439701;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 597  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439701;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:01:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 599  Schema:   QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439704;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 599  Schema:   QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439704;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:01:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 601  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439711;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 601  Schema:   QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439711;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:01:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 603  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439714;
SELECT
		  page_size, compress_ops, 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.000191  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439714;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:02:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 605  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439721;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 605  Schema:   QC_hit: No
# Query_time: 0.000118  Lock_time: 0.000078  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439721;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:02:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 607  Schema:   QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439724;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 607  Schema:   QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000071  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439724;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:02:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 609  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439731;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 609  Schema:   QC_hit: No
# Query_time: 0.000111  Lock_time: 0.000069  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439731;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:02:14
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002613  Lock_time: 0.002176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625439734;
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-07-04 23:02:14.246'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:02:14.246')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:02:14.246')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 611  Schema:   QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439734;
SELECT
		  page_size, compress_ops, 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.000195  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439734;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:02:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 613  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439741;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 613  Schema:   QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439741;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:02:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 615  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=1625439744;
SELECT
		  page_size, compress_ops, 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.000232  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439744;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:02:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 617  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439751;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 617  Schema:   QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439751;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:02:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 619  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439754;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 619  Schema:   QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439754;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:02:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002658  Lock_time: 0.001922  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625439759;
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-07-04 23:02:39.927'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:02:39.927')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:02:39.927')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:02:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 621  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439761;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 621  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439761;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:02:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625439764;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:43.699881' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 623  Schema:   QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439764;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 623  Schema:   QC_hit: No
# Query_time: 0.000112  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439764;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000855  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439764;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439764;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:43.924439' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:02:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000677  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439767;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:02:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439768;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439768;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:47.556546' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000061  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439768;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:47.542942' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001635  Lock_time: 0.001040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439768;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:02:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001698  Lock_time: 0.001418  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439769;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:48.736103' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439769;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:02:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439770;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439770;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:48.839586' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439770;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439770;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:02:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439771;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:50.571984' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439771;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439771;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 629  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439771;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 629  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439771;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:02:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439772;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000680  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439772;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:51.560859' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:02:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439773;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000046  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439773;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:52.54054' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625439773;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:52.540802' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:02:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000757  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439774;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 631  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439774;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 631  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439774;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:02:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000724  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439775;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  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=1625439775;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:54.540771' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:02:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439776;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:55.534438' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439776;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:02:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439777;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439777;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:56.698099' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:02:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439778;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625439778;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:57.541445' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:02:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000621  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439779;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439779;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:02:58.537303' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  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=1625439781;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439781;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:00.137749' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439781;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439781;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:00.572656' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 633  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439781;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 633  Schema:   QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000560  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439781;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:03:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439782;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:01.676891' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439783;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:02.753363' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439783;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:02.820876' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439784;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439784;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 635  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439784;
SELECT
		  page_size, compress_ops, 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.000260  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439784;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:03:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439785;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001048  Lock_time: 0.000884  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439786;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439786;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439787;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:03:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439788;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:07.544658' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000975  Lock_time: 0.000305  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439789;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:07.544601' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001772  Lock_time: 0.000878  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439789;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439789;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:08.560534' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439790;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439791;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439791;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:10.539255' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 637  Schema:   QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439791;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 637  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=1625439791;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:03:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439793;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:12.544479' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439793;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:12.63211' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 639  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439794;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 639  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439794;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:03:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001099  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439795;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001228  Lock_time: 0.000573  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625439795;
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-07-04 23:03:15.672'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:03:15.672')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:03:15.672')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:03:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625439796;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:13.548472' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000880  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439796;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439796;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439796;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:15.559453' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439797;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439797;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439797;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:16.576342' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000767  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439798;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439798;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:17.560464' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439799;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:18.548843' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439799;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:03:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439800;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:19.554481' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439800;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439800;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:19.55638' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 641  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439801;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 641  Schema:   QC_hit: No
# Query_time: 0.000131  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439801;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:03:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 643  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439804;
SELECT
                  page_size, buffer_pool_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.000189  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439804;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:03:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 645  Schema:   QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439811;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 645  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439811;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:03:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.263142  Lock_time: 0.262897  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439813;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 647  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439815;
SELECT
		  page_size, compress_ops, 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.000179  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:03:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002182  Lock_time: 0.001566  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625439819;
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-07-04 23:03:39.928'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:03:39.928')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:03:39.928')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:03:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 649  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439821;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 649  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439821;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:03:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001190  Lock_time: 0.000999  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625439824;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439824;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439824;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 651  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439824;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 651  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439824;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:03:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004591  Lock_time: 0.003880  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439826;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439826;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:45.796347' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439826;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:45.796464' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439826;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:45.826506' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439827;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439827;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:46.541705' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439828;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:47.536953' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000924  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439829;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001683  Lock_time: 0.001536  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439829;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439830;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001637  Lock_time: 0.001366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439830;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:49.537091' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439831;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439831;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:50.536628' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 653  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=1625439831;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 653  Schema:   QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439831;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:03:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439832;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000841  Lock_time: 0.000687  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439832;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:51.536256' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439833;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:52.536327' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  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=1625439834;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625439834;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:53.536443' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 655  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439834;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 655  Schema:   QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439834;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:03:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439835;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439835;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:54.534034' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  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=1625439836;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:55.536253' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439837;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000974  Lock_time: 0.000833  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439837;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439838;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:57.536919' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:03:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001448  Lock_time: 0.001273  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439839;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439840;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:03:59.536442' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000390  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439841;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001680  Lock_time: 0.001511  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439841;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:00.536399' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 657  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439841;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 657  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439841;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:04:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439842;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:01.535867' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439842;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:01.535663' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439843;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:02.536378' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000837  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439844;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001424  Lock_time: 0.001322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439844;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 659  Schema:   QC_hit: No
# Query_time: 0.000703  Lock_time: 0.000609  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439844;
SELECT
		  page_size, compress_ops, 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.000161  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439844;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:04:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000842  Lock_time: 0.000650  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439845;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:04.53683' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439846;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000781  Lock_time: 0.000334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439846;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:04:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439847;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439847;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:06.537218' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000760  Lock_time: 0.000606  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439848;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439848;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:07.536734' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001666  Lock_time: 0.001443  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439849;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001048  Lock_time: 0.000828  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439850;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:09.535589' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001346  Lock_time: 0.001205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439851;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:10.535905' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 661  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439851;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 661  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439851;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:04:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439852;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001160  Lock_time: 0.001047  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439852;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:11.536265' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625439853;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:12.536096' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439853;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:12.535885' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439854;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 663  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=1625439854;
SELECT
                  page_size, buffer_pool_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.000106  Lock_time: 0.000066  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439854;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:04:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439855;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:14.536774' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:16
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001041  Lock_time: 0.000501  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625439856;
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-07-04 23:04:16.307'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:04:16.307')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000671  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625439856;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000986  Lock_time: 0.000809  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439856;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:15.536364' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000748  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439857;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:04:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439858;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439858;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:17.538008' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439859;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439860;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:19.536764' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439861;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001317  Lock_time: 0.001068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439861;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:20.536857' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 665  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=1625439861;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 665  Schema:   QC_hit: No
# Query_time: 0.000131  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439861;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:04:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439862;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439863;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439863;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:22.536116' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439864;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439864;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:23.536894' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 667  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439864;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 667  Schema:   QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000578  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439864;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:04:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439865;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439866;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625439866;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:25.536828' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439867;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:26.536957' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000962  Lock_time: 0.000819  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439868;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439868;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:27.537444' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001030  Lock_time: 0.000837  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439869;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625439870;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439871;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 669  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439871;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 669  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439871;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:04:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002737  Lock_time: 0.002534  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439872;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002034  Lock_time: 0.001725  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439872;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:31.53635' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439873;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439873;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439874;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:33.537092' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 671  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439874;
SELECT
                  page_size, buffer_pool_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.000178  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439874;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:04:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439875;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:04:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439876;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:35.535167' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439877;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439877;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439877;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:36.536985' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001369  Lock_time: 0.001175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439878;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439878;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:37.536412' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001173  Lock_time: 0.000940  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439879;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:38.536727' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001135  Lock_time: 0.000616  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625439879;
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-07-04 23:04:39.947'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:04:39.947')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:04:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000755  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625439880;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439880;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:39.538863' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001530  Lock_time: 0.000796  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439881;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 673  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439881;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 673  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439881;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:04:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439882;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:41.536948' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000410  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439882;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:41.536423' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439883;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:42.542084' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  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=1625439884;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:43.535066' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 675  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439884;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 675  Schema:   QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439884;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:04:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001577  Lock_time: 0.001258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439885;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:44.582107' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439886;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:45.547654' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439886;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:04:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439887;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439887;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:46.54517' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002577  Lock_time: 0.002424  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439888;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439889;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001272  Lock_time: 0.001140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439889;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:48.537738' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000518  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439890;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439890;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439890;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:49.536659' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439891;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001045  Lock_time: 0.000873  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439891;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:50.537554' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001026  Lock_time: 0.000863  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439891;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 677  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439891;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 677  Schema:   QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439891;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:04:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439892;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:04:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439893;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439894;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 679  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439894;
SELECT
		  page_size, compress_ops, 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.000214  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439894;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:04:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439895;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439895;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:54.539518' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000836  Lock_time: 0.000709  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439896;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439897;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:56.537457' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001226  Lock_time: 0.001034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439898;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:04:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439899;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439899;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:58.603188' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439900;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439900;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:04:59.53678' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439901;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 681  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=1625439901;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 681  Schema:   QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439901;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:05:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439902;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:01.537108' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439903;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000735  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439903;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:05:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439904;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:03.544402' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439904;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 683  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439904;
SELECT
		  page_size, compress_ops, 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.000129  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439904;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:05:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439906;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:05.53714' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439908;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:07.537849' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439909;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439910;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:05:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 685  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439911;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 685  Schema:   QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000072  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439911;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:05:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439912;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625439912;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:11.541071' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439912;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:11.541906' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  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=1625439913;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:12.555024' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439913;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:12.554524' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439914;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:13.61643' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439914;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 687  Schema:   QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439914;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 687  Schema:   QC_hit: No
# Query_time: 0.000095  Lock_time: 0.000060  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439914;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:05:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439915;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:14.700933' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439915;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439917;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:16.27956' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439917;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000680  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625439917;
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-07-04 23:05:17.34'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:05:17.34')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625439917;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439917;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:16.547334' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439918;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:17.65639' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439920;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:18.761551' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439920;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:19.612314' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 689  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439921;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 689  Schema:   QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439921;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:05:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439923;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004504  Lock_time: 0.004315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439924;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:23.575441' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439924;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 691  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439924;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 691  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439924;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:05:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439925;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:05:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000056  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439927;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:26.544267' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439928;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439929;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:28.539622' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 693  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=1625439931;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 693  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439931;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:05:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 695  Schema:   QC_hit: No
# Query_time: 0.000722  Lock_time: 0.000329  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439934;
SELECT
		  page_size, compress_ops, 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.000244  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439934;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:05:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439938;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:37.537575' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002358  Lock_time: 0.001534  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625439939;
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-07-04 23:05:39.935'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:05:39.935')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:05:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007766  Lock_time: 0.006862  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625439940;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:05:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 697  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439941;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 697  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439941;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  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=1625439941;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:40.536438' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439942;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439943;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:05:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000056  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439944;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:43.535657' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 699  Schema:   QC_hit: No
# Query_time: 0.000136  Lock_time: 0.000073  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439944;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 699  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439944;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:05:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000789  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439946;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001125  Lock_time: 0.000914  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439946;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:45.550174' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000801  Lock_time: 0.000571  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439946;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:45.21252' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  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=1625439946;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:45.197459' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439947;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:46.556494' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439947;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:46.544353' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439947;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439948;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:47.819339' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439948;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:05:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439949;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439949;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:47.820457' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000934  Lock_time: 0.000299  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439949;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:05:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439950;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 701  Schema:   QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439951;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 701  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439951;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:05:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 703  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439954;
SELECT
		  page_size, compress_ops, 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.000221  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439954;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:05:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004290  Lock_time: 0.004079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439955;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:52.984598' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000431  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439955;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:53.096398' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439955;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439955;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:54.621033' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439957;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:05:56.536419' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:05:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439958;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:06:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439961;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 705  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439961;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 705  Schema:   QC_hit: No
# Query_time: 0.000118  Lock_time: 0.000077  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439961;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:06:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439962;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:06:01.689218' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000893  Lock_time: 0.000661  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439962;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:06:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439963;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:06:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 707  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439964;
SELECT
		  page_size, compress_ops, 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.000112  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439964;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:06:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439967;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439967;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439967;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:06:06.948222' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439967;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:06:03.840765' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:06:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439968;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439968;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:06:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439970;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:06:09.300885' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.012385  Lock_time: 0.011857  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439970;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439970;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:06:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 709  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439971;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 709  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439971;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:06:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439974;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 711  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439974;
SELECT
                  page_size, buffer_pool_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.000248  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439974;
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.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439974;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:06:13.938088' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:06:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439976;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:06:15.537201' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:06:17
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001731  Lock_time: 0.001212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625439977;
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-07-04 23:06:17.148'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:06:17.148')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:06:17.148')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:06:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625439979;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:06:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439980;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:06:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 713  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439981;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 713  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439981;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:06:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439982;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:06:21.908482' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:06:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439984;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 715  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439984;
SELECT
		  page_size, compress_ops, 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.000152  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439984;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:06:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004699  Lock_time: 0.004523  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439985;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:06:24.547547' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:06:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439987;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439987;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:06:26.536238' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439987;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:06:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 717  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=1625439991;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 717  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439991;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:06:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 719  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625439994;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 719  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625439994;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:06:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000692  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625439998;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:06:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.588603  Lock_time: 0.588307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440000;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:06:38.730625' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.436226  Lock_time: 0.435685  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625440000;
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-07-04 23:06:39.979'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:06:39.979')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:06:39.979')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 555  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440000;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:06:39.428695' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:06:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 721  Schema:   QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440001;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 721  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440001;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:06:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006320  Lock_time: 0.006131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440002;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440002;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:06:41.691201' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:06:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 626  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440003;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:06:42.678133' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:06:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 723  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440004;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 723  Schema:   QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440004;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:06:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 725  Schema:   QC_hit: No
# Query_time: 0.001080  Lock_time: 0.001034  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440013;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 725  Schema:   QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000075  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440013;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:06:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 727  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=1625440014;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 727  Schema:   QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000063  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440014;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:07:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 729  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440021;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 729  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440021;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:07:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 731  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440024;
SELECT
                  page_size, buffer_pool_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.000135  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440024;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:07:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 733  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440031;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 733  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440031;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:07:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 735  Schema:   QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000265  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440034;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 735  Schema:   QC_hit: No
# Query_time: 0.000139  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440034;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
2021-07-04 23:07:23 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection to peer d1258283-a4e3 with addr tcp://10.242.8.206:4567 timed out, no messages seen in PT3S, socket stats: rtt: 3838 rttvar: 6646 rto: 204000 lost: 0 last_data_recv: 3064 cwnd: 10 last_queued_since: 65502160 last_delivered_since: 3065566580 send_queue_length: 0 send_queue_bytes: 0 segment: 0 messages: 0
2021-07-04 23:07:23 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: tcp://10.242.8.206:4567 
2021-07-04 23:07:25 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') reconnecting to d1258283-a4e3 (tcp://10.242.8.206:4567), attempt 0
2021-07-04 23:07:25 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:07:25 0 [Note] WSREP: evs::proto(11feeaec-b6ba, OPERATIONAL, view_id(REG,11feeaec-b6ba,3)) suspecting node: d1258283-a4e3
2021-07-04 23:07:25 0 [Note] WSREP: evs::proto(11feeaec-b6ba, OPERATIONAL, view_id(REG,11feeaec-b6ba,3)) suspected node without join message, declaring inactive
2021-07-04 23:07:28 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
2021-07-04 23:07:30 0 [Note] WSREP: view(view_id(NON_PRIM,11feeaec-b6ba,3) memb {
	11feeaec-b6ba,0
} joined {
} left {
} partitioned {
	d1258283-a4e3,0
	f639962f-bc8b,0
})
2021-07-04 23:07:30 0 [Note] WSREP: New COMPONENT: primary = no, bootstrap = no, my_idx = 0, memb_num = 1
2021-07-04 23:07:30 0 [Note] WSREP: Flow-control interval: [16, 16]
2021-07-04 23:07:30 0 [Note] WSREP: Received NON-PRIMARY.
2021-07-04 23:07:30 0 [Note] WSREP: Shifting SYNCED -> OPEN (TO: 3753)
2021-07-04 23:07:30 0 [Note] WSREP: view(view_id(NON_PRIM,11feeaec-b6ba,4) memb {
	11feeaec-b6ba,0
} joined {
} left {
} partitioned {
	d1258283-a4e3,0
	f639962f-bc8b,0
})
2021-07-04 23:07:30 0 [Note] WSREP: New COMPONENT: primary = no, bootstrap = no, my_idx = 0, memb_num = 1
2021-07-04 23:07:30 0 [Note] WSREP: Flow-control interval: [16, 16]
2021-07-04 23:07:30 0 [Note] WSREP: Received NON-PRIMARY.
2021-07-04 23:07:30 8 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3753
  status: non-primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(1):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
=================================================
2021-07-04 23:07:30 8 [Note] WSREP: Non-primary view
2021-07-04 23:07:30 8 [Note] WSREP: Server status change synced -> connected
2021-07-04 23:07:30 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:07:30 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:07:30 8 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3753
  status: non-primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(1):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
=================================================
2021-07-04 23:07:30 8 [Note] WSREP: Non-primary view
2021-07-04 23:07:30 8 [Note] WSREP: Server status change connected -> connected
2021-07-04 23:07:30 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:07:30 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:07:31 555 [Warning] WSREP: gcs_caused() returned -107 (Transport endpoint is not connected)
2021-07-04 23:07:31 626 [Warning] WSREP: gcs_caused() returned -107 (Transport endpoint is not connected)
2021-07-04 23:07:31 745 [Warning] WSREP: gcs_caused() returned -107 (Transport endpoint is not connected)
2021-07-04 23:07:31 745 [Warning] WSREP: gcs_caused() returned -107 (Transport endpoint is not connected)
2021-07-04 23:07:31 745 [Warning] WSREP: gcs_caused() returned -107 (Transport endpoint is not connected)
2021-07-04 23:07:32 0 [Note] WSREP: declaring d1258283-a4e3 at tcp://10.242.8.206:4567 stable
2021-07-04 23:07:32 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:07:32 0 [Note] WSREP: re-bootstrapping prim from partitioned components
2021-07-04 23:07:32 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,5) memb {
	11feeaec-b6ba,0
	d1258283-a4e3,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
})
2021-07-04 23:07:32 0 [Note] WSREP: save pc into disk
2021-07-04 23:07:32 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 3
2021-07-04 23:07:32 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 9ce4cd90-dd1c-11eb-9aa8-3b29a249233d
2021-07-04 23:07:32 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 9ce4cd90-dd1c-11eb-9aa8-3b29a249233d
2021-07-04 23:07:32 0 [Note] WSREP: STATE EXCHANGE: got state msg: 9ce4cd90-dd1c-11eb-9aa8-3b29a249233d from 0 (dev-mariadb-galera-2)
2021-07-04 23:07:32 0 [Note] WSREP: STATE EXCHANGE: got state msg: 9ce4cd90-dd1c-11eb-9aa8-3b29a249233d from 2 (dev-mariadb-galera-1)
2021-07-04 23:07:32 0 [Note] WSREP: STATE EXCHANGE: got state msg: 9ce4cd90-dd1c-11eb-9aa8-3b29a249233d from 1 (dev-mariadb-galera-0)
2021-07-04 23:07:32 0 [Warning] WSREP: Quorum: No node with complete state:

	Version      : 6
	Flags        : 0x3
	Protocols    : 2 / 10 / 4
	State        : NON-PRIMARY
	Desync count : 0
	Prim state   : SYNCED
	Prim UUID    : 12982e5d-dd19-11eb-b1b8-cbaf653c51ad
	Prim  seqno  : 3
	First seqno  : 815
	Last  seqno  : 3753
	Commit cut   : 3665
	Last vote    : -1.0
	Vote policy  : 0
	Prim JOINED  : 3
	State UUID   : 9ce4cd90-dd1c-11eb-9aa8-3b29a249233d
	Group UUID   : cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
	Name         : 'dev-mariadb-galera-2'
	Incoming addr: 'AUTO'

	Version      : 6
	Flags        : 0x2
	Protocols    : 2 / 10 / 4
	State        : NON-PRIMARY
	Desync count : 0
	Prim state   : SYNCED
	Prim UUID    : 12982e5d-dd19-11eb-b1b8-cbaf653c51ad
	Prim  seqno  : 3
	First seqno  : 815
	Last  seqno  : 3753
	Commit cut   : 3665
	Last vote    : -1.0
	Vote policy  : 0
	Prim JOINED  : 3
	State UUID   : 9ce4cd90-dd1c-11eb-9aa8-3b29a249233d
	Group UUID   : cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
	Name         : 'dev-mariadb-galera-0'
	Incoming addr: 'AUTO'

	Version      : 6
	Flags        : 0x2
	Protocols    : 2 / 10 / 4
	State        : NON-PRIMARY
	Desync count : 0
	Prim state   : SYNCED
	Prim UUID    : 12982e5d-dd19-11eb-b1b8-cbaf653c51ad
	Prim  seqno  : 3
	First seqno  : 815
	Last  seqno  : 3753
	Commit cut   : 3665
	Last vote    : -1.0
	Vote policy  : 0
	Prim JOINED  : 3
	State UUID   : 9ce4cd90-dd1c-11eb-9aa8-3b29a249233d
	Group UUID   : cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
	Name         : 'dev-mariadb-galera-1'
	Incoming addr: 'AUTO'

2021-07-04 23:07:32 0 [Note] WSREP: Full re-merge of primary 12982e5d-dd19-11eb-b1b8-cbaf653c51ad found: 3 of 3.
2021-07-04 23:07:32 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 3,
	members    = 3/3 (joined/total),
	act_id     = 3753,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:07:32 0 [Note] WSREP: Flow-control interval: [28, 28]
2021-07-04 23:07:32 0 [Note] WSREP: Restored state OPEN -> SYNCED (3754)
2021-07-04 23:07:32 8 [Note] WSREP: ####### processing CC 3754, local, ordered
2021-07-04 23:07:32 8 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:07:32 8 [Note] WSREP: Skipping cert index reset
2021-07-04 23:07:32 8 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:07:32 8 [Note] WSREP: ####### Adjusting cert position: 3753 -> 3754
2021-07-04 23:07:32 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:07:32 8 [Note] WSREP: Server dev-mariadb-galera-2 synced with group
2021-07-04 23:07:32 8 [Note] WSREP: Server status change connected -> synced
2021-07-04 23:07:32 8 [Note] WSREP: Synchronized with group, ready for connections
2021-07-04 23:07:32 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:07:32 8 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3754
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(3):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: d1258283-dd18-11eb-a4e3-2fff58d4b81d, dev-mariadb-galera-0
	2: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:07:32 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:07:32 8 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:07:32 8 [Note] WSREP: Min available from gcache for CC from group: 815
# Time: 210704 23:07:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 747  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440054;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 747  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440054;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:07:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.005689  Lock_time: 0.005192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625440059;
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-07-04 23:07:39.952'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:07:39.952')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:07:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 749  Schema:   QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440061;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 749  Schema:   QC_hit: No
# Query_time: 0.000125  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440061;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:07:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 751  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440064;
SELECT
		  page_size, compress_ops, 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.000176  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440064;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:07:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 753  Schema:   QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000429  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440071;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 753  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440071;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:07:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 755  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440074;
SELECT
		  page_size, compress_ops, 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.000121  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440074;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:08:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 757  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440081;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 757  Schema:   QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000398  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440081;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:08:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 759  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440084;
SELECT
		  page_size, compress_ops, 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.000135  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440084;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:08:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 761  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440091;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 761  Schema:   QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440091;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:08:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 763  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440094;
SELECT
		  page_size, compress_ops, 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.000155  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440094;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:08:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 765  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440101;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 765  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440101;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:08:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 767  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440104;
SELECT
		  page_size, compress_ops, 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.000156  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440104;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:08:32
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 769  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440112;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 769  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440112;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:08:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 771  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440114;
SELECT
		  page_size, compress_ops, 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.000177  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440114;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:08:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002483  Lock_time: 0.001424  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625440119;
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-07-04 23:08:39.944'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:08:39.944')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:08:39.944')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:08:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 773  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440121;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 773  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440121;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:08:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 775  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440124;
SELECT
		  page_size, compress_ops, 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.000283  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440124;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:08:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 777  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440131;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 777  Schema:   QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000074  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440131;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:08:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 779  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440134;
SELECT
		  page_size, compress_ops, 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.000173  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440134;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:09:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 781  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440141;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 781  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440141;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:09:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 783  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440144;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 783  Schema:   QC_hit: No
# Query_time: 0.000109  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440144;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:09:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 785  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440151;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 785  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440151;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:09:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 787  Schema:   QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440154;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 787  Schema:   QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440154;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:09:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 789  Schema:   QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000415  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440161;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 789  Schema:   QC_hit: No
# Query_time: 0.000136  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440161;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:09:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 791  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440164;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 791  Schema:   QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440164;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:09:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 793  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440171;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 793  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440171;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:09:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 795  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440175;
SELECT
		  page_size, compress_ops, 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.000190  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:09:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003352  Lock_time: 0.002617  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625440179;
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-07-04 23:09:39.945'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:09:39.945')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:09:39.945')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:09:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 797  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440181;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 797  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440181;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:09:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 799  Schema:   QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 799  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:09:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 801  Schema:   QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440191;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 801  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440191;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:09:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 803  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000220  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 803  Schema:   QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440195;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:10:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 805  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440201;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 805  Schema:   QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440201;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:10:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 807  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440205;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 807  Schema:   QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000064  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:10:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 809  Schema:   QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000359  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440211;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 809  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000273  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440211;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:10:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 811  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440214;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 811  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440214;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
2021-07-04 23:10:19 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection to peer d1258283-a4e3 with addr tcp://10.242.8.206:4567 timed out, no messages seen in PT3S, socket stats: rtt: 3579 rttvar: 6121 rto: 204000 lost: 0 last_data_recv: 3404 cwnd: 10 last_queued_since: 402482881 last_delivered_since: 3402473431 send_queue_length: 0 send_queue_bytes: 0 segment: 0 messages: 0
2021-07-04 23:10:19 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: tcp://10.242.8.206:4567 
2021-07-04 23:10:20 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') reconnecting to d1258283-a4e3 (tcp://10.242.8.206:4567), attempt 0
2021-07-04 23:10:21 0 [Note] WSREP: evs::proto(11feeaec-b6ba, GATHER, view_id(REG,11feeaec-b6ba,5)) suspecting node: d1258283-a4e3
2021-07-04 23:10:21 0 [Note] WSREP: evs::proto(11feeaec-b6ba, GATHER, view_id(REG,11feeaec-b6ba,5)) suspected node without join message, declaring inactive
2021-07-04 23:10:21 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:10:21 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:10:21 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,6) memb {
	11feeaec-b6ba,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
	d1258283-a4e3,0
})
2021-07-04 23:10:21 0 [Note] WSREP: save pc into disk
2021-07-04 23:10:21 0 [Note] WSREP: forgetting d1258283-a4e3 (tcp://10.242.8.206:4567)
2021-07-04 23:10:21 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
2021-07-04 23:10:21 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 2
2021-07-04 23:10:21 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 01a7868b-dd1d-11eb-8e8e-16acefaf8320
2021-07-04 23:10:21 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 01a7868b-dd1d-11eb-8e8e-16acefaf8320
2021-07-04 23:10:21 0 [Note] WSREP: STATE EXCHANGE: got state msg: 01a7868b-dd1d-11eb-8e8e-16acefaf8320 from 0 (dev-mariadb-galera-2)
2021-07-04 23:10:21 0 [Note] WSREP: STATE EXCHANGE: got state msg: 01a7868b-dd1d-11eb-8e8e-16acefaf8320 from 1 (dev-mariadb-galera-1)
2021-07-04 23:10:21 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 4,
	members    = 2/2 (joined/total),
	act_id     = 3754,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:10:21 0 [Note] WSREP: Flow-control interval: [23, 23]
2021-07-04 23:10:21 8 [Note] WSREP: ####### processing CC 3755, local, ordered
2021-07-04 23:10:21 8 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:10:21 8 [Note] WSREP: Skipping cert index reset
2021-07-04 23:10:21 8 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:10:21 8 [Note] WSREP: ####### Adjusting cert position: 3754 -> 3755
2021-07-04 23:10:21 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:10:21 8 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3755
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(2):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:10:21 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:10:21 8 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:10:21 8 [Note] WSREP: Min available from gcache for CC from group: 815
# Time: 210704 23:10:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 813  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440221;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 813  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440221;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:10:23 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:10:23 0 [Warning] WSREP: discarding established (time wait) d1258283-a4e3 (tcp://10.242.8.206:4567) 
2021-07-04 23:10:24 0 [Note] WSREP:  cleaning up d1258283-a4e3 (tcp://10.242.8.206:4567)
# Time: 210704 23:10:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 815  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440224;
SELECT
		  page_size, compress_ops, 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.000125  Lock_time: 0.000081  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440224;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:10:25 739 [Warning] Aborted connection 739 to db: 'ejbca' user: 'ejbca' host: '10.242.138.201' (Got an error reading communication packets)
2021-07-04 23:10:25 736 [Warning] Aborted connection 736 to db: 'ejbca' user: 'ejbca' host: '10.242.138.201' (Got an error reading communication packets)
2021-07-04 23:10:25 738 [Warning] Aborted connection 738 to db: 'ejbca' user: 'ejbca' host: '10.242.138.201' (Got an error reading communication packets)
2021-07-04 23:10:25 737 [Warning] Aborted connection 737 to db: 'ejbca' user: 'ejbca' host: '10.242.138.201' (Got an error reading communication packets)
2021-07-04 23:10:27 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:10:27 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: 
2021-07-04 23:10:30 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
2021-07-04 23:10:30 0 [Note] WSREP: declaring d1258283-a4e3 at tcp://10.242.8.206:4567 stable
2021-07-04 23:10:30 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:10:34 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection to peer d1258283-a4e3 with addr tcp://10.242.8.206:4567 timed out, no messages seen in PT3S, socket stats: rtt: 1747 rttvar: 2607 rto: 204000 lost: 0 last_data_recv: 3316 cwnd: 10 last_queued_since: 314408020 last_delivered_since: 3315344951 send_queue_length: 0 send_queue_bytes: 0 segment: 0 messages: 0
2021-07-04 23:10:34 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: tcp://10.242.8.206:4567 
2021-07-04 23:10:35 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') reconnecting to d1258283-a4e3 (tcp://10.242.8.206:4567), attempt 0
2021-07-04 23:10:35 0 [Note] WSREP: evs::proto(11feeaec-b6ba, OPERATIONAL, view_id(REG,11feeaec-b6ba,7)) suspecting node: d1258283-a4e3
2021-07-04 23:10:35 0 [Note] WSREP: evs::proto(11feeaec-b6ba, OPERATIONAL, view_id(REG,11feeaec-b6ba,7)) suspected node without join message, declaring inactive
2021-07-04 23:10:36 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:10:36 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:10:36 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:10:36 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:10:36 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,8) memb {
	11feeaec-b6ba,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
})
2021-07-04 23:10:36 0 [Note] WSREP: save pc into disk
2021-07-04 23:10:36 0 [Note] WSREP: forgetting d1258283-a4e3 (tcp://10.242.8.206:4567)
2021-07-04 23:10:36 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 2
2021-07-04 23:10:36 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 0aa4aec7-dd1d-11eb-80bc-567ba1eff31f
2021-07-04 23:10:36 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 0aa4aec7-dd1d-11eb-80bc-567ba1eff31f
2021-07-04 23:10:36 0 [Note] WSREP: STATE EXCHANGE: got state msg: 0aa4aec7-dd1d-11eb-80bc-567ba1eff31f from 0 (dev-mariadb-galera-2)
2021-07-04 23:10:36 0 [Note] WSREP: STATE EXCHANGE: got state msg: 0aa4aec7-dd1d-11eb-80bc-567ba1eff31f from 1 (dev-mariadb-galera-1)
2021-07-04 23:10:36 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 5,
	members    = 2/2 (joined/total),
	act_id     = 3755,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:10:36 0 [Note] WSREP: Flow-control interval: [23, 23]
2021-07-04 23:10:36 8 [Note] WSREP: ####### processing CC 3756, local, ordered
2021-07-04 23:10:36 8 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:10:36 8 [Note] WSREP: Skipping cert index reset
2021-07-04 23:10:36 8 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:10:36 8 [Note] WSREP: ####### Adjusting cert position: 3755 -> 3756
2021-07-04 23:10:36 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:10:36 8 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3756
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(2):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:10:36 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:10:36 8 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:10:36 8 [Note] WSREP: Min available from gcache for CC from group: 815
# Time: 210704 23:10:36
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 819  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440236;
SELECT
		  page_size, compress_ops, 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.000213  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440236;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:10:39 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
2021-07-04 23:10:39 0 [Note] WSREP:  cleaning up d1258283-a4e3 (tcp://10.242.8.206:4567)
# Time: 210704 23:10:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002767  Lock_time: 0.001618  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625440239;
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-07-04 23:10:39.954'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:10:39.954')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:10:39.954')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:10:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 828  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440241;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 828  Schema:   QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440241;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:10:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 830  Schema:   QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440244;
SELECT
		  page_size, compress_ops, 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.000164  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440244;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:10:44 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:10:44 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: 
2021-07-04 23:10:46 0 [Note] WSREP: declaring d1258283-a4e3 at tcp://10.242.8.206:4567 stable
2021-07-04 23:10:46 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:10:46 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:10:46 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,9) memb {
	11feeaec-b6ba,0
	d1258283-a4e3,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
})
2021-07-04 23:10:46 0 [Note] WSREP: save pc into disk
2021-07-04 23:10:46 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 3
2021-07-04 23:10:46 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 109c7ab6-dd1d-11eb-9346-47a75956cffd
2021-07-04 23:10:46 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 109c7ab6-dd1d-11eb-9346-47a75956cffd
2021-07-04 23:10:46 0 [Note] WSREP: STATE EXCHANGE: got state msg: 109c7ab6-dd1d-11eb-9346-47a75956cffd from 0 (dev-mariadb-galera-2)
2021-07-04 23:10:46 0 [Note] WSREP: STATE EXCHANGE: got state msg: 109c7ab6-dd1d-11eb-9346-47a75956cffd from 1 (dev-mariadb-galera-0)
2021-07-04 23:10:46 0 [Note] WSREP: STATE EXCHANGE: got state msg: 109c7ab6-dd1d-11eb-9346-47a75956cffd from 2 (dev-mariadb-galera-1)
2021-07-04 23:10:46 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 6,
	members    = 2/3 (joined/total),
	act_id     = 3756,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:10:46 0 [Note] WSREP: Flow-control interval: [28, 28]
2021-07-04 23:10:46 8 [Note] WSREP: ####### processing CC 3757, local, ordered
2021-07-04 23:10:46 8 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:10:46 8 [Note] WSREP: Skipping cert index reset
2021-07-04 23:10:46 8 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:10:46 8 [Note] WSREP: ####### Adjusting cert position: 3756 -> 3757
2021-07-04 23:10:46 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:10:46 8 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3757
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(3):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: d1258283-dd18-11eb-a4e3-2fff58d4b81d, dev-mariadb-galera-0
	2: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:10:46 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:10:46 8 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:10:46 8 [Note] WSREP: Min available from gcache for CC from group: 815
# Time: 210704 23:10:46
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.891820  Lock_time: 0.891050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625440246;
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-07-04 23:10:45.82'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:10:45.82')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:10:45.82')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
2021-07-04 23:10:46 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-0) requested state transfer from '*any*'. Selected 2.0 (dev-mariadb-galera-1)(SYNCED) as donor.
2021-07-04 23:10:46 0 [Note] WSREP: 2.0 (dev-mariadb-galera-1): State transfer to 1.0 (dev-mariadb-galera-0) complete.
2021-07-04 23:10:46 0 [Note] WSREP: Member 2.0 (dev-mariadb-galera-1) synced with group.
2021-07-04 23:10:46 0 [Note] WSREP: 1.0 (dev-mariadb-galera-0): State transfer from 2.0 (dev-mariadb-galera-1) complete.
2021-07-04 23:10:46 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-0) synced with group.
# Time: 210704 23:10:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001783  Lock_time: 0.000686  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440247;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000826  Lock_time: 0.000362  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625440247;
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-07-04 23:10:47.108'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:10:47.108')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:10:47.108')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
2021-07-04 23:10:48 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
# Time: 210704 23:10:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440248;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440248;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:10:47.547712' order by MODIFIED_DATE ASC limit 1;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 826  Schema: ejbca  QC_hit: No
# Query_time: 0.019399  Lock_time: 0.000405  Rows_sent: 36  Rows_examined: 72
# Rows_affected: 0  Bytes_sent: 1922
use ejbca;
SET timestamp=1625440248;
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 = 'ejbca') AND (TABLE_NAME LIKE '%') AND TABLE_TYPE IN ('BASE TABLE','VIEW') ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 826  Schema: ejbca  QC_hit: No
# Query_time: 0.004928  Lock_time: 0.000395  Rows_sent: 312  Rows_examined: 624
# Rows_affected: 0  Bytes_sent: 30048
SET timestamp=1625440248;
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 = 'ejbca') AND (1 = 1) AND (COLUMN_NAME LIKE '%') ORDER BY TABLE_CAT, TABLE_SCHEM, TABLE_NAME, ORDINAL_POSITION;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 826  Schema: ejbca  QC_hit: No
# Query_time: 0.000861  Lock_time: 0.000711  Rows_sent: 4  Rows_examined: 8
# Rows_affected: 0  Bytes_sent: 1222
SET timestamp=1625440248;
SELECT TABLE_SCHEMA TABLE_CAT, NULL TABLE_SCHEM, TABLE_NAME, NON_UNIQUE,  TABLE_SCHEMA INDEX_QUALIFIER, INDEX_NAME, 3 TYPE, SEQ_IN_INDEX ORDINAL_POSITION, COLUMN_NAME, COLLATION ASC_OR_DESC, CARDINALITY, NULL PAGES, NULL FILTER_CONDITION FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_NAME = 'ocspresponsedata' AND (TABLE_SCHEMA = 'ejbca') ORDER BY NON_UNIQUE, TYPE, INDEX_NAME, ORDINAL_POSITION;
# Time: 210704 23:10:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440249;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:10:48.533954' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:10:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000785  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440250;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:10:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 832  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440251;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 832  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440251;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:10:52
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 825  Schema: ejbca  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000152  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 158
use ejbca;
SET timestamp=1625440252;
select cadata0_.cAId as col_0_0_, cadata0_.name as col_1_0_ from CAData cadata0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 826  Schema: ejbca  QC_hit: No
# Query_time: 0.001166  Lock_time: 0.000974  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 465
SET timestamp=1625440252;
select profiledat0_.id as id1_27_, profiledat0_.profileName as profileN2_27_, profiledat0_.profileType as profileT3_27_, profiledat0_.rawData as rawData4_27_, profiledat0_.rowProtection as rowProte5_27_, profiledat0_.rowVersion as rowVersi6_27_ from ProfileData profiledat0_ where profiledat0_.profileType='APPROVAL_PROFILE';
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 825  Schema: ejbca  QC_hit: No
# Query_time: 0.001258  Lock_time: 0.000998  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 10819
SET timestamp=1625440252;
select cadata0_.cAId as cAId1_14_, cadata0_.data as data2_14_, cadata0_.expireTime as expireTi3_14_, cadata0_.name as name4_14_, cadata0_.rowProtection as rowProte5_14_, cadata0_.rowVersion as rowVersi6_14_, cadata0_.status as status7_14_, cadata0_.subjectDN as subjectD8_14_, cadata0_.updateTime as updateTi9_14_ from CAData cadata0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 825  Schema: ejbca  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000204  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 926
SET timestamp=1625440252;
select roledata0_.id as id1_30_, roledata0_.nameSpace as nameSpac2_30_, roledata0_.rawData as rawData3_30_, roledata0_.roleName as roleName4_30_, roledata0_.rowProtection as rowProte5_30_, roledata0_.rowVersion as rowVersi6_30_ from RoleData roledata0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 825  Schema: ejbca  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 532
SET timestamp=1625440252;
select servicedat0_.id as id1_33_, servicedat0_.data as data2_33_, servicedat0_.name as name3_33_, servicedat0_.nextRunTimeStamp as nextRunT4_33_, servicedat0_.rowProtection as rowProte5_33_, servicedat0_.rowVersion as rowVersi6_33_, servicedat0_.runTimeStamp as runTimeS7_33_ from ServiceData servicedat0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 825  Schema: ejbca  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000161  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 4961
SET timestamp=1625440252;
select certificat0_.id as id1_16_, certificat0_.certificateProfileName as certific2_16_, certificat0_.data as data3_16_, certificat0_.rowProtection as rowProte4_16_, certificat0_.rowVersion as rowVersi5_16_ from CertificateProfileData certificat0_;
# Time: 210704 23:10:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440253;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:10:52.53701' order by MODIFIED_DATE ASC limit 1;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 825  Schema: ejbca  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000133  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 4563
use ejbca;
SET timestamp=1625440253;
select endentityp0_.id as id1_20_, endentityp0_.data as data2_20_, endentityp0_.profileName as profileN3_20_, endentityp0_.rowProtection as rowProte4_20_, endentityp0_.rowVersion as rowVersi5_20_ from EndEntityProfileData endentityp0_;
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 825  Schema: ejbca  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000219  Rows_sent: 3  Rows_examined: 13
# Rows_affected: 0  Bytes_sent: 1153
SET timestamp=1625440253;
SELECT TABLE_SCHEMA TABLE_CAT, NULL TABLE_SCHEM, TABLE_NAME, NON_UNIQUE,  TABLE_SCHEMA INDEX_QUALIFIER, INDEX_NAME, 3 TYPE, SEQ_IN_INDEX ORDINAL_POSITION, COLUMN_NAME, COLLATION ASC_OR_DESC, CARDINALITY, NULL PAGES, NULL FILTER_CONDITION FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_NAME = 'CertificateData' AND (ISNULL(database()) OR (TABLE_SCHEMA = database())) AND NON_UNIQUE = 0 ORDER BY NON_UNIQUE, TYPE, INDEX_NAME, ORDINAL_POSITION;
# Time: 210704 23:10:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440254;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 834  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440254;
SELECT
		  page_size, compress_ops, 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.000134  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440254;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:10:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440255;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:10:54.537134' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:10:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000689  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440256;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:10:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440258;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:10:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440259;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:10:58.537126' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625440260;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 836  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440261;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 836  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=1625440261;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:11:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440262;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:11:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440264;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 838  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440264;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 838  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440264;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:11:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440265;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:04.536734' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001016  Lock_time: 0.000804  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440266;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440268;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:11:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440269;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:08.53627' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440270;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:09.53631' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440271;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:10.535926' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 840  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440271;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 840  Schema:   QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440271;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:11:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440272;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001099  Lock_time: 0.001019  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440272;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000796  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440274;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001328  Lock_time: 0.001052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440274;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:13.536448' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 842  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440274;
SELECT
		  page_size, compress_ops, 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.000111  Lock_time: 0.000072  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440274;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:11:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000771  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440275;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:11:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000783  Lock_time: 0.000544  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440276;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:15.536929' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001154  Lock_time: 0.000975  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440279;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001495  Lock_time: 0.001345  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440280;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000829  Lock_time: 0.000495  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440281;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 844  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440281;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 844  Schema:   QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440281;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:11:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440283;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440284;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:23.536788' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 846  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440284;
SELECT
		  page_size, compress_ops, 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.000115  Lock_time: 0.000079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440284;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:11:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440285;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000824  Lock_time: 0.000712  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440285;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:24.536191' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001045  Lock_time: 0.000879  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440286;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:25.536578' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000778  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440287;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:11:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440288;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:27.536194' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440289;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:11:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 848  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440291;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 848  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440291;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:11:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000579  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440292;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  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=1625440292;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:31.540344' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001093  Lock_time: 0.000889  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440293;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:32.537709' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440294;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 850  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440294;
SELECT
                  page_size, buffer_pool_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.000106  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440294;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:11:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000966  Lock_time: 0.000397  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440295;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:11:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440296;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001196  Lock_time: 0.000849  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440297;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:11:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.010344  Lock_time: 0.010187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440298;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:37.540784' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440299;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.008076  Lock_time: 0.007598  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625440299;
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-07-04 23:11:39.944'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:11:39.944')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:11:39.944')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:11:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440300;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440301;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:40.534615' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 852  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440301;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 852  Schema:   QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440301;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:11:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440302;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:41.538409' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002063  Lock_time: 0.001791  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440303;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:42.536823' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 854  Schema:   QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440304;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 854  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440304;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:11:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440305;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:44.534175' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440306;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:45.535447' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:47
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000837  Lock_time: 0.000387  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625440307;
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-07-04 23:11:47.152'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:11:47.152')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:11:47.152')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440307;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:46.545018' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625440307;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440308;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:11:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000603  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440309;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:48.576533' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625440311;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:50.090504' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440311;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:50.537983' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 856  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440311;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 856  Schema:   QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000474  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440311;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:11:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440312;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:51.538099' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:11:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001499  Lock_time: 0.000930  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440313;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:11:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 858  Schema:   QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440314;
SELECT
		  page_size, compress_ops, 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.000126  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440314;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:11:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440316;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:11:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001567  Lock_time: 0.001104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440317;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:11:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000512  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440319;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:12:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001102  Lock_time: 0.000917  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440320;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:11:59.537937' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000898  Lock_time: 0.000756  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440321;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 860  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440321;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 860  Schema:   QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440321;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:12:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440322;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:01.540696' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 862  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440324;
SELECT
		  page_size, compress_ops, 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.000170  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440324;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:12:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440331;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:10.585043' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 864  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440331;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 864  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440331;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:12:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625440332;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440333;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:12.537915' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 866  Schema:   QC_hit: No
# Query_time: 0.000132  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440334;
SELECT
		  page_size, compress_ops, 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.000106  Lock_time: 0.000059  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440334;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:12:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440336;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:15.632855' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440337;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440338;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:17.800582' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440339;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440340;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 868  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440341;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 868  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440341;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:12:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 870  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440344;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 870  Schema:   QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440344;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:12:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440349;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000047  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440350;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:29.536856' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440351;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:30.536937' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 872  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440351;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 872  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440351;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:12:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.017147  Lock_time: 0.016960  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440353;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:31.56556' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440354;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:33.556558' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 874  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440354;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 874  Schema:   QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440354;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:12:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440357;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:36.248332' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440357;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000853  Lock_time: 0.000319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625440359;
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-07-04 23:12:39.944'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:12:39.944')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:12:39.944')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:12:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 876  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440361;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 876  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440361;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440361;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:40.841117' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:42
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 825  Schema: ejbca  QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000275  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 4563
use ejbca;
SET timestamp=1625440362;
select endentityp0_.id as id1_20_, endentityp0_.data as data2_20_, endentityp0_.profileName as profileN3_20_, endentityp0_.rowProtection as rowProte4_20_, endentityp0_.rowVersion as rowVersi5_20_ from EndEntityProfileData endentityp0_;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000644  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440362;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:12:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440363;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:12:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440364;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 878  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440364;
SELECT
		  page_size, compress_ops, 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.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440364;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:12:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440365;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002496  Lock_time: 0.002251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440366;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000723  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440367;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:12:48
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000950  Lock_time: 0.000420  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625440368;
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-07-04 23:12:48.2'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:12:48.2')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:12:48.2')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:12:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000719  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440369;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:12:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 880  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440371;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 880  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440371;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:12:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440373;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:51.860274' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440373;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440374;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:53.254274' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000691  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440374;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 882  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440374;
SELECT
		  page_size, compress_ops, 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.000130  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440374;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:12:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440375;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:54.58472' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440376;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:55.538751' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440377;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:12:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440378;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:57.543542' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000061  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440380;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:12:59.561378' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440381;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:00.731352' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 884  Schema:   QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000366  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440381;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 884  Schema:   QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440381;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:13:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440382;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:01.632694' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440383;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:02.576338' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:04
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 825  Schema: ejbca  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000118  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 158
use ejbca;
SET timestamp=1625440384;
select cadata0_.cAId as col_0_0_, cadata0_.name as col_1_0_ from CAData cadata0_;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000728  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440384;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 886  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=1625440384;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 886  Schema:   QC_hit: No
# Query_time: 0.000112  Lock_time: 0.000074  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440384;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:13:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440385;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:04.539499' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440386;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000750  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440387;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:13:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440389;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:08.534153' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440390;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:09.537097' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440391;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:10.537469' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 888  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440391;
SELECT
		  page_size, compress_ops, 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.000167  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440391;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:13:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440392;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:11.59654' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440393;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:13:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 890  Schema:   QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440394;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 890  Schema:   QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440394;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:13:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440395;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:14.570407' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440396;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:15.534516' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000552  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440397;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:13:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001440  Lock_time: 0.001049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440398;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:17.537404' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440400;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440400;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:19.825816' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440401;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:20.566721' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 892  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440401;
SELECT
		  page_size, compress_ops, 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.000106  Lock_time: 0.000065  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440401;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:13:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440402;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:21.5392' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000726  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440402;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:13:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440403;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:13:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440404;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:23.537326' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 894  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000301  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440404;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 894  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440404;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:13:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440405;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:24.538777' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440406;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:25.542326' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:29
# User@Host: rene[rene] @  [10.242.150.8]
# Thread_id: 51  Schema: nbi  QC_hit: No
# Query_time: 0.004413  Lock_time: 0.003953  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 505
use nbi;
SET timestamp=1625440409;
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: 210704 23:13:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440410;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:29.535877' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 898  Schema:   QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000268  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440411;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 898  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440411;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:13:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440412;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:31.116356' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625440412;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.088635  Lock_time: 0.088224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440413;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:13:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625440414;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 900  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440414;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 900  Schema:   QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440414;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:13:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440416;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:13:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440417;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:13:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440418;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:37.043482' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000847  Lock_time: 0.000362  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625440419;
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-07-04 23:13:39.946'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:13:39.946')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:13:39.946')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:13:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440421;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:38.536448' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440421;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 903  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440421;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 903  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440421;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:13:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440422;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440422;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625440422;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:13:41.305145' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:13:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 905  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440424;
SELECT
		  page_size, compress_ops, 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.000318  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440424;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:13:48
# User@Host: so_user[so_user] @  [10.242.8.223]
# Thread_id: 513  Schema: camundabpmn  QC_hit: No
# Query_time: 0.004199  Lock_time: 0.003568  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625440428;
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-07-04 23:13:47.612'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:13:47.612')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:13:47.612')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:13:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 908  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440431;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 908  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440431;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:13:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 910  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440434;
SELECT
		  page_size, compress_ops, 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.000125  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440434;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:14:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 913  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440441;
SELECT
		  page_size, compress_ops, 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.000175  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440441;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:14:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 915  Schema:   QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440444;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 915  Schema:   QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440444;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:14:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 917  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440451;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 917  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440451;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:14:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 919  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440454;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 919  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440454;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:14:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 921  Schema:   QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440461;
SELECT
                  page_size, buffer_pool_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.000107  Lock_time: 0.000066  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440461;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:14:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 923  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440464;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 923  Schema:   QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440464;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:14:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 925  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440471;
SELECT
		  page_size, compress_ops, 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.000129  Lock_time: 0.000080  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440471;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:14:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 927  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440474;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 927  Schema:   QC_hit: No
# Query_time: 0.000115  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440474;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:14:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002197  Lock_time: 0.001637  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625440479;
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-07-04 23:14:39.947'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:14:39.947')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:14:39.947')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:14:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 929  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440481;
SELECT
                  page_size, buffer_pool_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.000138  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440481;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:14:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 931  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440484;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 931  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=1625440484;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:14:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 933  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440491;
SELECT
		  page_size, compress_ops, 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.000150  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440491;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:14:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 935  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440494;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 935  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440494;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:15:02
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 937  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440502;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 937  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440502;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:15:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 942  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440504;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 942  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440504;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:15:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 944  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440511;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 944  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440511;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:15:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 946  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440514;
SELECT
                  page_size, buffer_pool_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.000256  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440514;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:15:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 948  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=1625440521;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 948  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440521;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:15:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 950  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440524;
SELECT
		  page_size, compress_ops, 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.000207  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440524;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:15:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 952  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440531;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 952  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440531;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:15:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 954  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440534;
SELECT
		  page_size, compress_ops, 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.000283  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440534;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:15:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002010  Lock_time: 0.001433  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625440539;
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-07-04 23:15:39.962'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:15:39.962')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:15:39.962')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:15:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 956  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440541;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 956  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=1625440541;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:15:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 958  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440544;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 958  Schema:   QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440544;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:15:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 960  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440551;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 960  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440551;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:15:52
# User@Host: ejbca[ejbca] @  [10.242.138.201]
# Thread_id: 825  Schema: ejbca  QC_hit: No
# Query_time: 0.001530  Lock_time: 0.001228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 532
use ejbca;
SET timestamp=1625440552;
select servicedat0_.id as id1_33_, servicedat0_.data as data2_33_, servicedat0_.name as name3_33_, servicedat0_.nextRunTimeStamp as nextRunT4_33_, servicedat0_.rowProtection as rowProte5_33_, servicedat0_.rowVersion as rowVersi6_33_, servicedat0_.runTimeStamp as runTimeS7_33_ from ServiceData servicedat0_;
# Time: 210704 23:15:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 962  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440554;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 962  Schema:   QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440554;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:16:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 964  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440561;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 964  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440561;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:16:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 966  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440564;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 966  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440564;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:16:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 968  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440571;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 968  Schema:   QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440571;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:16:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 970  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440574;
SELECT
		  page_size, compress_ops, 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.000174  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440574;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:16:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 972  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440581;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 972  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440581;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:16:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 974  Schema:   QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440584;
SELECT
		  page_size, compress_ops, 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.000273  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440584;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:16:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 976  Schema:   QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000484  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440591;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 976  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000311  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440591;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:16:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 978  Schema:   QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440594;
SELECT
		  page_size, compress_ops, 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.000212  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440594;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:16:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.013555  Lock_time: 0.013036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625440600;
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-07-04 23:16:39.974'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:16:39.974')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:16:39.974')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:16:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 980  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440601;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 980  Schema:   QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000078  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440601;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:16:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 982  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440604;
SELECT
		  page_size, compress_ops, 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.000236  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440604;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:16:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440610;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:16:49.668278' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000802  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440610;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440610;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:16:49.708919' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:16:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 984  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=1625440611;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 984  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440611;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:16:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 986  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440614;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 986  Schema:   QC_hit: No
# Query_time: 0.000138  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440614;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:17:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 988  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440621;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 988  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440621;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:17:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 990  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440624;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 990  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440624;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:17:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 992  Schema:   QC_hit: No
# Query_time: 0.006603  Lock_time: 0.006433  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440631;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 992  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440631;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:17:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 994  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440634;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 994  Schema:   QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000297  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440634;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:17:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 996  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440641;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 996  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440641;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:17:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 998  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440644;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 998  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440644;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:17:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1000  Schema:   QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000461  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440651;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1000  Schema:   QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440651;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:17:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1002  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440654;
SELECT
		  page_size, compress_ops, 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.000158  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440654;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:17:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002831  Lock_time: 0.001688  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625440659;
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-07-04 23:17:39.956'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:17:39.956')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:17:39.956')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:17:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1004  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440661;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1004  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440661;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:17:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1006  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440664;
SELECT
                  page_size, buffer_pool_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.000226  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440664;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:17:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1008  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440671;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1008  Schema:   QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000400  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440671;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:17:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1010  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440674;
SELECT
		  page_size, compress_ops, 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.000169  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440674;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:17:59 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection to peer d1258283-a4e3 with addr tcp://10.242.8.206:4567 timed out, no messages seen in PT3S, socket stats: rtt: 6370 rttvar: 10693 rto: 208000 lost: 0 last_data_recv: 3328 cwnd: 10 last_queued_since: 327197397 last_delivered_since: 3326196471 send_queue_length: 0 send_queue_bytes: 0 segment: 0 messages: 0
2021-07-04 23:17:59 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: tcp://10.242.8.206:4567 
2021-07-04 23:18:00 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') reconnecting to d1258283-a4e3 (tcp://10.242.8.206:4567), attempt 0
2021-07-04 23:18:00 0 [Note] WSREP: evs::proto(11feeaec-b6ba, OPERATIONAL, view_id(REG,11feeaec-b6ba,9)) suspecting node: d1258283-a4e3
2021-07-04 23:18:00 0 [Note] WSREP: evs::proto(11feeaec-b6ba, OPERATIONAL, view_id(REG,11feeaec-b6ba,9)) suspected node without join message, declaring inactive
2021-07-04 23:18:01 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:18:01 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:18:01 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:18:01 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:18:01 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,10) memb {
	11feeaec-b6ba,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
	d1258283-a4e3,0
})
2021-07-04 23:18:01 0 [Note] WSREP: save pc into disk
2021-07-04 23:18:01 0 [Note] WSREP: forgetting d1258283-a4e3 (tcp://10.242.8.206:4567)
2021-07-04 23:18:01 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 2
2021-07-04 23:18:01 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 13f5f76c-dd1e-11eb-ba14-df32f8e8518d
2021-07-04 23:18:01 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 13f5f76c-dd1e-11eb-ba14-df32f8e8518d
2021-07-04 23:18:01 0 [Note] WSREP: STATE EXCHANGE: got state msg: 13f5f76c-dd1e-11eb-ba14-df32f8e8518d from 0 (dev-mariadb-galera-2)
2021-07-04 23:18:01 0 [Note] WSREP: STATE EXCHANGE: got state msg: 13f5f76c-dd1e-11eb-ba14-df32f8e8518d from 1 (dev-mariadb-galera-1)
2021-07-04 23:18:01 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 7,
	members    = 2/2 (joined/total),
	act_id     = 3766,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:18:01 0 [Note] WSREP: Flow-control interval: [23, 23]
2021-07-04 23:18:01 8 [Note] WSREP: ####### processing CC 3767, local, ordered
2021-07-04 23:18:01 8 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:18:01 8 [Note] WSREP: Skipping cert index reset
2021-07-04 23:18:01 8 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:18:01 8 [Note] WSREP: ####### Adjusting cert position: 3766 -> 3767
2021-07-04 23:18:01 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:18:01 8 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3767
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(2):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:18:01 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:18:01 8 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:18:01 8 [Note] WSREP: Min available from gcache for CC from group: 818
# Time: 210704 23:18:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1012  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440681;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1012  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440681;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:18:03 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:18:03 0 [Warning] WSREP: discarding established (time wait) d1258283-a4e3 (tcp://10.242.8.206:4567) 
2021-07-04 23:18:04 0 [Note] WSREP:  cleaning up d1258283-a4e3 (tcp://10.242.8.206:4567)
# Time: 210704 23:18:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1014  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440684;
SELECT
		  page_size, compress_ops, 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.000188  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440684;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:18:05 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
2021-07-04 23:18:05 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:18:05 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: 
2021-07-04 23:18:06 0 [Note] WSREP: declaring d1258283-a4e3 at tcp://10.242.8.206:4567 stable
2021-07-04 23:18:06 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:18:06 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:18:06 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,11) memb {
	11feeaec-b6ba,0
	d1258283-a4e3,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
})
2021-07-04 23:18:06 0 [Note] WSREP: save pc into disk
2021-07-04 23:18:06 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 3
2021-07-04 23:18:06 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 16a7c0c6-dd1e-11eb-9c87-23b71637a998
2021-07-04 23:18:06 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 16a7c0c6-dd1e-11eb-9c87-23b71637a998
2021-07-04 23:18:06 0 [Note] WSREP: STATE EXCHANGE: got state msg: 16a7c0c6-dd1e-11eb-9c87-23b71637a998 from 0 (dev-mariadb-galera-2)
2021-07-04 23:18:06 0 [Note] WSREP: STATE EXCHANGE: got state msg: 16a7c0c6-dd1e-11eb-9c87-23b71637a998 from 2 (dev-mariadb-galera-1)
2021-07-04 23:18:07 0 [Note] WSREP: STATE EXCHANGE: got state msg: 16a7c0c6-dd1e-11eb-9c87-23b71637a998 from 1 (dev-mariadb-galera-0)
2021-07-04 23:18:07 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 8,
	members    = 2/3 (joined/total),
	act_id     = 3767,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:18:07 0 [Note] WSREP: Flow-control interval: [28, 28]
2021-07-04 23:18:07 8 [Note] WSREP: ####### processing CC 3768, local, ordered
2021-07-04 23:18:07 8 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:18:07 8 [Note] WSREP: Skipping cert index reset
2021-07-04 23:18:07 8 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:18:07 8 [Note] WSREP: ####### Adjusting cert position: 3767 -> 3768
2021-07-04 23:18:07 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:18:07 8 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3768
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(3):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: d1258283-dd18-11eb-a4e3-2fff58d4b81d, dev-mariadb-galera-0
	2: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:18:07 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:18:07 8 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:18:07 8 [Note] WSREP: Min available from gcache for CC from group: 818
2021-07-04 23:18:08 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
# Time: 210704 23:18:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1016  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440691;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1016  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440691;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:18:13 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-0) requested state transfer from '*any*'. Selected 2.0 (dev-mariadb-galera-1)(SYNCED) as donor.
2021-07-04 23:18:13 0 [Note] WSREP: 2.0 (dev-mariadb-galera-1): State transfer to 1.0 (dev-mariadb-galera-0) complete.
2021-07-04 23:18:13 0 [Note] WSREP: Member 2.0 (dev-mariadb-galera-1) synced with group.
# Time: 210704 23:18:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1018  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440694;
SELECT
		  page_size, compress_ops, 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.000252  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440694;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:18:19 0 [Note] WSREP: 1.0 (dev-mariadb-galera-0): State transfer from 2.0 (dev-mariadb-galera-1) complete.
2021-07-04 23:18:19 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-0) synced with group.
# Time: 210704 23:18:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1020  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440701;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1020  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440701;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:18:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1022  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440704;
SELECT
		  page_size, compress_ops, 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.000151  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440704;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:18:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440706;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:16:53.916641' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007204  Lock_time: 0.006649  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440706;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:18:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440707;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:18:26.688292' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:18:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000618  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440708;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:18:27.560646' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:18:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1024  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440711;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1024  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440711;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:18:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440713;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:18:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440714;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440714;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:18:33.743834' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000759  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440714;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440714;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:18:33.804403' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440714;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:18:33.85266' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440714;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1026  Schema:   QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440714;
SELECT
		  page_size, compress_ops, 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.000244  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440714;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:18:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001075  Lock_time: 0.000561  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625440719;
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-07-04 23:18:39.958'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:18:39.958')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:18:39.958')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:18:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1028  Schema:   QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440721;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1028  Schema:   QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440721;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:18:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1030  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=1625440724;
SELECT
                  page_size, buffer_pool_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.000257  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440724;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:18:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1032  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440731;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1032  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440731;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:18:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1034  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440734;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1034  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440734;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:19:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1036  Schema:   QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000302  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440741;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1036  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440741;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:19:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1038  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440744;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1038  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440744;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:19:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1040  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440751;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1040  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440751;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:19:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1042  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440754;
SELECT
		  page_size, compress_ops, 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.000156  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440754;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:19:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1044  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440761;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1044  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440761;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:19:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1046  Schema:   QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440764;
SELECT
		  page_size, compress_ops, 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.000092  Lock_time: 0.000055  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440764;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:19:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1048  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440771;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1048  Schema:   QC_hit: No
# Query_time: 0.000132  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440771;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:19:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1054  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440774;
SELECT
		  page_size, compress_ops, 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.000138  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440774;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:19:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003583  Lock_time: 0.001744  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625440779;
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-07-04 23:19:39.958'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:19:39.958')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:19:39.958')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:19:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1056  Schema:   QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440781;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1056  Schema:   QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440781;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:19:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1058  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440784;
SELECT
                  page_size, buffer_pool_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.000128  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440784;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:19:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1060  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440791;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1060  Schema:   QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440791;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:19:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1062  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440794;
SELECT
                  page_size, buffer_pool_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.000258  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440794;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:20:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1064  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440801;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1064  Schema:   QC_hit: No
# Query_time: 0.000114  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440801;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:20:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1066  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440804;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1066  Schema:   QC_hit: No
# Query_time: 0.000125  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440804;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:20:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1068  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=1625440811;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1068  Schema:   QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440811;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:20:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1070  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440814;
SELECT
                  page_size, buffer_pool_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.000522  Lock_time: 0.000475  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440814;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:20:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1072  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440821;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1072  Schema:   QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440821;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:20:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1074  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440824;
SELECT
		  page_size, compress_ops, 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.000151  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440824;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:20:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1076  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440831;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1076  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440831;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:20:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1078  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440834;
SELECT
		  page_size, compress_ops, 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.000149  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440834;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:20:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003881  Lock_time: 0.003359  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625440839;
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-07-04 23:20:39.958'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:20:39.958')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:20:39.958')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:20:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000729  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440841;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:20:40.554072' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1080  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440841;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1080  Schema:   QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440841;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:20:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625440843;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:20:42.63346' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:20:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1082  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440844;
SELECT
		  page_size, compress_ops, 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.000127  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440844;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:20:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440846;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001005  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440846;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440846;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440846;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:20:45.75848' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:20:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1084  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440851;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1084  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440851;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:20:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1086  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440854;
SELECT
		  page_size, compress_ops, 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.000102  Lock_time: 0.000063  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440854;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:21:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1088  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440861;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1088  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440861;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:21:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1090  Schema:   QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440864;
SELECT
		  page_size, compress_ops, 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.000206  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440864;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:21:12
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1092  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440872;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1092  Schema:   QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440872;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:21:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1094  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440875;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1094  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:21:19 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection to peer d1258283-a4e3 with addr tcp://10.242.8.206:4567 timed out, no messages seen in PT3S, socket stats: rtt: 4187 rttvar: 7216 rto: 208000 lost: 0 last_data_recv: 3112 cwnd: 10 last_queued_since: 35087 last_delivered_since: 3115276744 send_queue_length: 1 send_queue_bytes: 360 segment: 0 messages: 1
2021-07-04 23:21:19 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: tcp://10.242.8.206:4567 
2021-07-04 23:21:21 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') reconnecting to d1258283-a4e3 (tcp://10.242.8.206:4567), attempt 0
2021-07-04 23:21:21 0 [Note] WSREP: evs::proto(11feeaec-b6ba, OPERATIONAL, view_id(REG,11feeaec-b6ba,11)) suspecting node: d1258283-a4e3
2021-07-04 23:21:21 0 [Note] WSREP: evs::proto(11feeaec-b6ba, OPERATIONAL, view_id(REG,11feeaec-b6ba,11)) suspected node without join message, declaring inactive
2021-07-04 23:21:22 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:21:22 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:21:22 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,12) memb {
	11feeaec-b6ba,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
	d1258283-a4e3,0
})
2021-07-04 23:21:22 0 [Note] WSREP: save pc into disk
2021-07-04 23:21:22 0 [Note] WSREP: forgetting d1258283-a4e3 (tcp://10.242.8.206:4567)
2021-07-04 23:21:22 0 [Note] WSREP: deleting entry tcp://10.242.8.206:4567
2021-07-04 23:21:22 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
2021-07-04 23:21:22 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 2
2021-07-04 23:21:22 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 8bafff78-dd1e-11eb-a542-2a45451336f7
2021-07-04 23:21:22 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 8bafff78-dd1e-11eb-a542-2a45451336f7
2021-07-04 23:21:22 0 [Note] WSREP: STATE EXCHANGE: got state msg: 8bafff78-dd1e-11eb-a542-2a45451336f7 from 0 (dev-mariadb-galera-2)
2021-07-04 23:21:22 0 [Note] WSREP: STATE EXCHANGE: got state msg: 8bafff78-dd1e-11eb-a542-2a45451336f7 from 1 (dev-mariadb-galera-1)
2021-07-04 23:21:22 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 9,
	members    = 2/2 (joined/total),
	act_id     = 3768,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:21:22 0 [Note] WSREP: Flow-control interval: [23, 23]
2021-07-04 23:21:22 8 [Note] WSREP: ####### processing CC 3769, local, ordered
2021-07-04 23:21:22 8 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:21:22 8 [Note] WSREP: Skipping cert index reset
2021-07-04 23:21:22 8 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:21:22 8 [Note] WSREP: ####### Adjusting cert position: 3768 -> 3769
2021-07-04 23:21:22 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:21:22 8 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3769
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(2):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:21:22 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:21:22 8 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:21:22 8 [Note] WSREP: Min available from gcache for CC from group: 818
# Time: 210704 23:21:22
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1096  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440882;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1096  Schema:   QC_hit: No
# Query_time: 0.000109  Lock_time: 0.000073  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440882;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
2021-07-04 23:21:23 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:21:23 0 [Warning] WSREP: discarding established (time wait) d1258283-a4e3 (tcp://10.242.8.206:4567) 
# Time: 210704 23:21:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1098  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=1625440884;
SELECT
		  page_size, compress_ops, 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.000303  Lock_time: 0.000260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440884;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:21:25 0 [Note] WSREP:  cleaning up d1258283-a4e3 (tcp://10.242.8.206:4567)
2021-07-04 23:21:31 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:21:31 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: 
# Time: 210704 23:21:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1100  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440891;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1100  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440891;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:21:33 0 [Note] WSREP: declaring d1258283-a4e3 at tcp://10.242.8.206:4567 stable
2021-07-04 23:21:33 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:21:33 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:21:33 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,13) memb {
	11feeaec-b6ba,0
	d1258283-a4e3,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
})
2021-07-04 23:21:33 0 [Note] WSREP: save pc into disk
2021-07-04 23:21:33 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 3
2021-07-04 23:21:33 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 924be38e-dd1e-11eb-aef0-9eef6ea6c2c3
2021-07-04 23:21:33 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 924be38e-dd1e-11eb-aef0-9eef6ea6c2c3
2021-07-04 23:21:33 0 [Note] WSREP: STATE EXCHANGE: got state msg: 924be38e-dd1e-11eb-aef0-9eef6ea6c2c3 from 0 (dev-mariadb-galera-2)
2021-07-04 23:21:33 0 [Note] WSREP: STATE EXCHANGE: got state msg: 924be38e-dd1e-11eb-aef0-9eef6ea6c2c3 from 2 (dev-mariadb-galera-1)
2021-07-04 23:21:33 0 [Note] WSREP: STATE EXCHANGE: got state msg: 924be38e-dd1e-11eb-aef0-9eef6ea6c2c3 from 1 (dev-mariadb-galera-0)
2021-07-04 23:21:33 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 10,
	members    = 2/3 (joined/total),
	act_id     = 3769,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:21:33 0 [Note] WSREP: Flow-control interval: [28, 28]
2021-07-04 23:21:33 8 [Note] WSREP: ####### processing CC 3770, local, ordered
2021-07-04 23:21:33 8 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:21:33 8 [Note] WSREP: Skipping cert index reset
2021-07-04 23:21:33 8 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:21:33 8 [Note] WSREP: ####### Adjusting cert position: 3769 -> 3770
2021-07-04 23:21:33 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:21:33 8 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3770
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(3):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: d1258283-dd18-11eb-a4e3-2fff58d4b81d, dev-mariadb-galera-0
	2: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:21:33 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:21:33 8 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:21:33 8 [Note] WSREP: Min available from gcache for CC from group: 818
2021-07-04 23:21:33 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-0) requested state transfer from '*any*'. Selected 2.0 (dev-mariadb-galera-1)(SYNCED) as donor.
2021-07-04 23:21:33 0 [Note] WSREP: 2.0 (dev-mariadb-galera-1): State transfer to 1.0 (dev-mariadb-galera-0) complete.
2021-07-04 23:21:33 0 [Note] WSREP: Member 2.0 (dev-mariadb-galera-1) synced with group.
# Time: 210704 23:21:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440893;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440893;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:32.536445' order by MODIFIED_DATE ASC limit 1;
2021-07-04 23:21:33 0 [Note] WSREP: 1.0 (dev-mariadb-galera-0): State transfer from 2.0 (dev-mariadb-galera-1) complete.
2021-07-04 23:21:33 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-0) synced with group.
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440893;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:31.547772' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440893;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:32.886062' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440893;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440894;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:33.536994' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440894;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
2021-07-04 23:21:34 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1105  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440894;
SELECT
                  page_size, buffer_pool_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.000215  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440894;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:21:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440895;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:34.536277' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440896;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:35.536283' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440896;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000503  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440897;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440897;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:36.535854' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440898;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:21:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000826  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440899;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001342  Lock_time: 0.000697  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625440899;
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-07-04 23:21:39.966'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:21:39.966')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:21:39.966')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:21:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440900;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440900;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:39.536573' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440901;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440901;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:40.537093' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1107  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440901;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1107  Schema:   QC_hit: No
# Query_time: 0.000136  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440901;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:21:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001891  Lock_time: 0.001177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440902;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440902;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:41.53737' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000838  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440903;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440903;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:42.535602' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000838  Lock_time: 0.000452  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440904;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440904;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:43.5364' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1109  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440904;
SELECT
		  page_size, compress_ops, 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.000239  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440904;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:21:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440905;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440905;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:44.537209' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440906;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:21:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440907;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:21:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000655  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440908;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  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=1625440908;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:47.537229' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440909;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440909;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:48.536482' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440910;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000427  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440910;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440911;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000471  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440911;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440911;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:50.535956' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1111  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440911;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1111  Schema:   QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440911;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:21:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440912;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000937  Lock_time: 0.000811  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440912;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:51.536372' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440913;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440913;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:52.536534' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440914;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:53.537239' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440914;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:53.536091' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1113  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440914;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1113  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440914;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:21:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440915;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440915;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:54.536247' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001110  Lock_time: 0.000986  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440915;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000964  Lock_time: 0.000773  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440916;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  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=1625440916;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:55.537078' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001215  Lock_time: 0.000940  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440917;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:56.533601' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  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=1625440917;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440918;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:57.536006' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:21:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440919;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440919;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440920;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001026  Lock_time: 0.000826  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440920;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:21:59.536538' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001471  Lock_time: 0.001225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440920;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000701  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440921;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440921;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440921;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:00.536595' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1115  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440921;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1115  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440921;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:22:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000864  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440922;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440922;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440923;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:02.542553' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440924;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440924;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:03.536277' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1117  Schema:   QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440924;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1117  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440924;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:22:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440925;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440926;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:05.536756' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440927;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000947  Lock_time: 0.000852  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440927;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440928;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:07.536713' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440929;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001396  Lock_time: 0.001241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440929;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440930;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:09.536612' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000719  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440931;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440931;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1119  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440931;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1119  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440931;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:22:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440932;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440932;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:11.53678' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440933;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000493  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440933;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000755  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440934;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1121  Schema:   QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000299  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440934;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1121  Schema:   QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440934;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:22:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440935;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:14.536034' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000841  Lock_time: 0.000610  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440935;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:14.536602' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001563  Lock_time: 0.001098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440936;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440936;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440937;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:16.545574' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000726  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440938;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440938;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000877  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440939;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440939;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:18.535939' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440940;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440940;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:19.536893' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001156  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440941;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440941;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  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=1625440941;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:20.537448' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1123  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440941;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1123  Schema:   QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000537  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440941;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:22:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440942;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001134  Lock_time: 0.000917  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440942;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:21.534895' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000787  Lock_time: 0.000624  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440943;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:22.536856' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001228  Lock_time: 0.001069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440943;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001331  Lock_time: 0.001112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440944;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:23.536458' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440944;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1125  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440944;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1125  Schema:   QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440944;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:22:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001309  Lock_time: 0.001169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440945;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440945;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:24.537551' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001833  Lock_time: 0.001611  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440946;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  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=1625440946;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:25.535782' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000698  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440947;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440947;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440948;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000893  Lock_time: 0.000334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440949;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003425  Lock_time: 0.003153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440949;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:28.536168' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440950;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  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=1625440951;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:30.536506' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1127  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440951;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1127  Schema:   QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440951;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:22:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440952;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440952;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:31.538004' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440953;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:22:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440954;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440954;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:33.536821' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1129  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440954;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1129  Schema:   QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440954;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:22:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440955;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:34.533974' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440955;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:34.53448' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440956;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:35.534427' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440957;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440957;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:22:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000687  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440958;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:22:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002184  Lock_time: 0.001524  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625440960;
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-07-04 23:22:39.999'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:22:39.999')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:22:39.999')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625440960;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000664  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440960;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:22:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440961;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440961;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:40.570925' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440961;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440961;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:40.602747' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1131  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440961;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1131  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440961;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:22:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001128  Lock_time: 0.000409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440962;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440962;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:41.536427' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440964;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:42.616536' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1133  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440965;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1133  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440965;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440965;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:22:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440966;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440966;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:45.744812' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000512  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440966;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:22:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440968;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:47.016564' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440968;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  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=1625440969;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:48.604252' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440969;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440970;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001028  Lock_time: 0.000839  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440970;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:49.552556' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440971;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:50.541177' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000060  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440971;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:50.54056' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1135  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440971;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1135  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440971;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:22:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1137  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440974;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1137  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440974;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:22:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440976;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440976;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440976;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440976;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440976;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:55.232653' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440976;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:55.240574' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:22:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440979;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:23:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440980;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440980;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:59.279151' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:23:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440981;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440981;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:00.326889' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440981;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:00.340676' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1139  Schema:   QC_hit: No
# Query_time: 0.000739  Lock_time: 0.000651  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440981;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1139  Schema:   QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440981;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:23:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440982;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:22:54.747417' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000766  Lock_time: 0.000285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440982;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440982;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:01.488745' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:23:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440984;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:03.173686' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440984;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:03.236456' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1141  Schema:   QC_hit: No
# Query_time: 0.000184  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440984;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1141  Schema:   QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000067  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440984;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:23:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001226  Lock_time: 0.001064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625440991;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1143  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440991;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1143  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440991;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:23:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1145  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625440994;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1145  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625440994;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:23:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1147  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441001;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1147  Schema:   QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441001;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:23:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441003;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441003;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:22.283417' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441003;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:22.547235' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:23:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441004;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:23.660321' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441004;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:23.630735' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1149  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441004;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1149  Schema:   QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441004;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:23:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441008;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:23:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441009;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:27.942506' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:23:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441010;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:29.355175' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441010;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:29.404445' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441010;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000853  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441010;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:23:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441011;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:29.660716' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441011;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:30.540589' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441011;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:30.548503' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441011;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:30.620471' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441011;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:30.632342' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441011;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:30.703091' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1151  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441011;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1151  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441011;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:23:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1153  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441014;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1153  Schema:   QC_hit: No
# Query_time: 0.000117  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441014;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:23:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441016;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441016;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441016;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:35.620532' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441016;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:35.845628' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441016;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:35.846227' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:23:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441017;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:35.672783' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441017;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:35.504364' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004311  Lock_time: 0.004142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441017;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:36.776698' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441017;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:36.8364' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:23:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441018;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:37.564523' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441018;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:37.588554' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:23:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441019;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002700  Lock_time: 0.001911  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441019;
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-07-04 23:23:39.964'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:23:39.964')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:23:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441020;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:39.539541' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:23:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1155  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441021;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1155  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441021;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:23:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1157  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441024;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1157  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441024;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:23:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1159  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441031;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1159  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441031;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:23:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441033;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:52.31284' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441033;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:52.313316' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000723  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441033;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441033;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441033;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:52.325296' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441033;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:52.325978' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441033;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:52.537055' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:23:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000691  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441034;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1161  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441034;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1161  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441034;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:23:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001440  Lock_time: 0.000459  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441039;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441039;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:23:58.657997' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1163  Schema:   QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441041;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1163  Schema:   QC_hit: No
# Query_time: 0.000184  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441041;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:24:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1168  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441044;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1168  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441044;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:24:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441045;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441046;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441046;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:05.720687' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441046;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:05.7246' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001045  Lock_time: 0.000367  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441048;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441048;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441048;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441048;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441048;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441048;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:07.540613' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441051;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441051;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441051;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:10.068246' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441051;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:10.069583' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441051;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441051;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:10.554729' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441051;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  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=1625441051;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:10.556725' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1170  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441051;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1170  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441051;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:24:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000754  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441052;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:24:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441053;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  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=1625441053;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:12.552241' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1172  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441054;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1172  Schema:   QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441054;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:24:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441056;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:15.224526' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441056;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441056;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000480  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441056;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:15.468372' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441056;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441056;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:15.592758' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441058;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:16.686945' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441059;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:18.565352' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441060;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:19.541213' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441061;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1174  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441061;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1174  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441061;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:24:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441062;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:21.557769' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005020  Lock_time: 0.004755  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441063;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:22.554148' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1176  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441064;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1176  Schema:   QC_hit: No
# Query_time: 0.000104  Lock_time: 0.000066  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441064;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:24:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441065;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441066;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:24:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441067;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441068;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441068;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000767  Lock_time: 0.000605  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441069;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441070;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:28.91292' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441070;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:24:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441071;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1178  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441071;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1178  Schema:   QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441071;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:24:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441073;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:32.944273' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441074;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441074;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441074;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:33.556774' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  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=1625441074;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:33.772435' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1180  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441074;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1180  Schema:   QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441074;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:24:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441075;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441077;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:36.545029' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000933  Lock_time: 0.000344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441078;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:24:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001826  Lock_time: 0.001333  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441079;
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-07-04 23:24:39.978'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:24:39.978')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:24:39.978')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:24:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441080;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:38.551421' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1182  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=1625441081;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1182  Schema:   QC_hit: No
# Query_time: 0.000111  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441081;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:24:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441082;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441082;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000714  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441082;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441082;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:41.287311' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441082;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441082;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:41.540466' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441083;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:42.705062' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441083;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441084;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441084;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441084;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:43.576503' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1184  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441084;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1184  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441084;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:24:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000742  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441086;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441086;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441086;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441086;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:45.175344' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441087;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441087;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441088;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441088;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:24:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441089;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441090;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:49.551775' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441091;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1186  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441091;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1186  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441091;
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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441091;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:50.550314' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441092;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:24:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441093;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:52.54442' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1188  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441094;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1188  Schema:   QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441094;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441094;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:53.926341' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441094;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:53.936949' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003856  Lock_time: 0.003548  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441095;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:54.837704' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000705  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441096;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:24:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441097;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:24:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441098;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441098;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:57.665343' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441100;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441100;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:59.545005' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000659  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441100;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441100;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:24:59.556489' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441101;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:00.541211' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1190  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441101;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1190  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441101;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:25:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000610  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441103;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441103;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:02.207555' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441103;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:02.53688' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441103;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441103;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:02.54443' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000761  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441104;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1192  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441104;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1192  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441104;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:25:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441109;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:08.103465' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441109;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:08.103243' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441109;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625441109;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:08.103473' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441109;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:25:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000061  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441110;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:09.584429' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002680  Lock_time: 0.002514  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441111;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:10.536919' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1194  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441111;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1194  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441111;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:25:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441112;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:25:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441113;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:12.540505' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1196  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441114;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1196  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441114;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:25:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000518  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441115;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441115;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:14.545664' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441116;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:15.549773' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000335  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441116;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441116;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:15.74572' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441117;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441118;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.012549  Lock_time: 0.012105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441121;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441121;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1198  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441121;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1198  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441121;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:25:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441124;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441124;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:23.53682' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1200  Schema:   QC_hit: No
# Query_time: 0.001587  Lock_time: 0.001495  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441124;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1200  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441124;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:25:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441125;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:24.578228' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441126;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:25:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441127;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:26.537212' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441129;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441131;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:30.536414' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1202  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441131;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1202  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441131;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:25:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441134;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:33.560663' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1204  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=1625441134;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1204  Schema:   QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441134;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:25:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441137;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441137;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441137;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:36.618296' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441138;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  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=1625441138;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:37.538611' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.015316  Lock_time: 0.014832  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441139;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 440  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001519  Lock_time: 0.000742  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441139;
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-07-04 23:25:39.98'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:25:39.98')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:25:39.98')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:25:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000884  Lock_time: 0.000343  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441140;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441140;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441141;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:40.547741' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1206  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441141;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1206  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441141;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:25:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441142;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:41.60425' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441142;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:25:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441143;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:42.54383' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441143;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:42.545544' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441144;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:43.540373' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1208  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441144;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1208  Schema:   QC_hit: No
# Query_time: 0.000120  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441144;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:25:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441145;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:44.560511' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441146;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441146;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:25:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441147;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:46.710179' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441147;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441147;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441147;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:46.839217' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441148;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000993  Lock_time: 0.000865  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441148;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441149;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441149;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:48.54592' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000829  Lock_time: 0.000673  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441150;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441150;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:49.542584' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441151;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1210  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441151;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1210  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441151;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:25:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441152;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:51.598143' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441153;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:52.540338' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441153;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:25:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000971  Lock_time: 0.000786  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441154;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441154;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1212  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441154;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1212  Schema:   QC_hit: No
# Query_time: 0.000118  Lock_time: 0.000077  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441154;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:25:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441156;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:55.094409' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  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=1625441156;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:55.55637' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441156;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:25:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441157;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000766  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441157;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:25:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441158;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:26:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441160;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441160;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:25:59.569963' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:26:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1214  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441161;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1214  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441161;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:26:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441162;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000654  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441162;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:26:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441164;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:03.536823' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1216  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441164;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1216  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441164;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:26:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000579  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441165;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000061  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441165;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:04.67645' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:26:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.152043  Lock_time: 0.151645  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441166;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:26:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441167;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441167;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:06.559478' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:26:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000061  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441169;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441169;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:08.548883' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625441169;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:08.539289' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:26:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1218  Schema:   QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441171;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1218  Schema:   QC_hit: No
# Query_time: 0.000111  Lock_time: 0.000077  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441171;
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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441171;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:26:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441172;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:11.011081' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441172;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:11.488642' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441172;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000789  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441172;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441172;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:11.596758' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:26:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001260  Lock_time: 0.001103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441174;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1220  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441174;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1220  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441174;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:26:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441177;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:16.540388' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:26:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441179;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441179;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:18.59387' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:26:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000791  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441180;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:19.606976' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:26:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441181;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:20.716512' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1223  Schema:   QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000266  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441181;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1223  Schema:   QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441181;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441181;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:26:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441182;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:21.544321' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001059  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441182;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:26:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000596  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441184;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441184;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441184;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:23.894426' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1226  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441184;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1226  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441184;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:26:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000676  Lock_time: 0.000381  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441187;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:26.520649' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441187;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:26:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441188;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441188;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441188;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008768  Lock_time: 0.008671  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441188;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:26:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1233  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441191;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1233  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441191;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:26:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000716  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441192;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441192;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:31.126864' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441192;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:31.306815' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441192;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:31.557002' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441192;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:26:31.592946' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:26:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1235  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441194;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1235  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441194;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:26:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 441  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003178  Lock_time: 0.002471  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441199;
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-07-04 23:26:39.967'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:26:39.967')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:26:39.967')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:26:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1238  Schema:   QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000457  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441201;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1238  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441201;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:26:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1240  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441204;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1240  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=1625441204;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:26:50 1244 [Warning] Aborted connection 1244 to db: 'camundabpmn' user: 'so_user' host: '10.242.193.19' (Got an error reading communication packets)
# Time: 210704 23:26:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1246  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441211;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1246  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441211;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:26:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1250  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441214;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1250  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441214;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:27:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441221;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:00.53721' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1255  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441221;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1255  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441221;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:27:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000735  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441222;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441222;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:01.534906' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441223;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:02.536575' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441224;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000965  Lock_time: 0.000828  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441224;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1259  Schema:   QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441224;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1259  Schema:   QC_hit: No
# Query_time: 0.000103  Lock_time: 0.000062  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441224;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:27:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441225;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441227;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:06.533567' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441227;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:06.534064' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441228;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441228;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441230;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441230;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:09.536706' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441231;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:10.538162' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1262  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441231;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1262  Schema:   QC_hit: No
# Query_time: 0.000456  Lock_time: 0.000409  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441231;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:27:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000774  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441232;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000463  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441232;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441233;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:12.536522' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441234;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001245  Lock_time: 0.001009  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441234;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:13.53577' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1264  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441234;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1264  Schema:   QC_hit: No
# Query_time: 0.000117  Lock_time: 0.000080  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441234;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:27:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441235;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000999  Lock_time: 0.000853  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441235;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:14.536857' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441236;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441236;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:15.536645' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441237;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441237;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:16.539527' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441238;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441239;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441239;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:27:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001532  Lock_time: 0.001363  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441241;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441241;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:20.536754' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1267  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441241;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1267  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441241;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:27:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001133  Lock_time: 0.000938  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441242;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:21.53631' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001208  Lock_time: 0.001092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441242;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441243;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001139  Lock_time: 0.000930  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441243;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:22.536337' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441244;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001106  Lock_time: 0.000856  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441244;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:23.536248' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1270  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441244;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1270  Schema:   QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441244;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:27:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441245;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441246;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:27:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441247;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441247;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:26.536529' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441248;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:27.536445' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441248;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:27.536797' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000724  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441249;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001139  Lock_time: 0.000986  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441249;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001120  Lock_time: 0.000934  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441250;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:29.535871' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000943  Lock_time: 0.000701  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441250;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:29.536617' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441251;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441251;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001124  Lock_time: 0.001013  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441251;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:30.535969' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1277  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441251;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1277  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441251;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:27:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441252;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:27:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441253;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:32.536389' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441254;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441254;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:33.53661' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1279  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441254;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1279  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441254;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:27:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000683  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441255;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441255;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441256;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000999  Lock_time: 0.000827  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441256;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:35.536755' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000915  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441257;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441257;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441258;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:37.536386' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000777  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441259;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001249  Lock_time: 0.001072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441259;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:38.536336' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001216  Lock_time: 0.001052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441259;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001209  Lock_time: 0.000481  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441259;
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-07-04 23:27:39.967'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:27:39.967')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:27:39.967')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:27:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441260;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441260;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:39.536082' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441261;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441261;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:40.537491' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1281  Schema:   QC_hit: No
# Query_time: 0.000696  Lock_time: 0.000605  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441261;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1281  Schema:   QC_hit: No
# Query_time: 0.000788  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441261;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:27:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441262;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001143  Lock_time: 0.000880  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441262;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:41.535897' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001159  Lock_time: 0.000976  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441263;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:42.536291' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000950  Lock_time: 0.000806  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441264;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:43.536982' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1283  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441264;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1283  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441264;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:27:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001070  Lock_time: 0.000886  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441265;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:44.537166' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001188  Lock_time: 0.000948  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441265;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:44.536871' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000662  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441266;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001026  Lock_time: 0.000909  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441266;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:45.536694' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441267;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441268;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441268;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:47.534022' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441269;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000665  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441270;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000925  Lock_time: 0.000827  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441270;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441270;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:49.541024' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441271;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441271;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441271;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:50.53671' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1286  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441271;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1286  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441271;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:27:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  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=1625441272;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:51.535824' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441273;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441273;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:52.551184' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000755  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441274;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1289  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441274;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1289  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441274;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:27:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008305  Lock_time: 0.008163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441275;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441275;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:54.540426' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441276;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:27:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441277;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:56.534479' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001045  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441280;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441280;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:59.81386' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441280;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:59.826433' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441280;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:27:59.814377' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1293  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441281;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1293  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441281;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441281;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:00.770267' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441282;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:01.596869' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441282;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:01.751267' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441283;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441283;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:02.813411' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000928  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441284;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1295  Schema:   QC_hit: No
# Query_time: 0.000746  Lock_time: 0.000628  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441284;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1295  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441284;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:28:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441285;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:04.477074' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441287;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441287;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:06.326019' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441287;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:06.535449' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441287;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441288;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:07.564591' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441288;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000621  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441289;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:28:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000656  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441290;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:28:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1300  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441291;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1300  Schema:   QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441291;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:28:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441292;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:11.508397' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441292;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:11.56856' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441292;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441292;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:28:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1304  Schema:   QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441294;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1304  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441294;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:28:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441295;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:14.468604' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441295;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:14.494545' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625441297;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:16.111264' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441297;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000558  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441299;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:18.542189' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441300;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:19.817075' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003270  Lock_time: 0.003043  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441301;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:19.824409' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441301;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000767  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441301;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441301;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:20.564495' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441301;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:20.568359' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1309  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441301;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1309  Schema:   QC_hit: No
# Query_time: 0.000112  Lock_time: 0.000075  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441301;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:28:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441302;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:21.558198' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  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=1625441302;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:21.592333' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1311  Schema:   QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000348  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441304;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1311  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441304;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:28:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441306;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:25.484409' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441306;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441306;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:25.521058' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441306;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:25.521038' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441306;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441306;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441306;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:25.537121' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441306;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:25.568471' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441306;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441307;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441307;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:26.731181' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441308;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:27.552324' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441308;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:28:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001800  Lock_time: 0.001479  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441309;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:27.568512' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441309;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:28.576289' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441309;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000668  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441309;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:28:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1313  Schema:   QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000308  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441311;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1313  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441311;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:28:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441312;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441312;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441312;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:30.986774' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441312;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:30.98777' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441312;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441312;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:31.57492' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441314;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:33.552426' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1320  Schema:   QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441314;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1320  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441314;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:28:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001068  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441315;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:34.537903' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001208  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441317;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441317;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:36.36444' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001541  Lock_time: 0.000724  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441319;
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-07-04 23:28:39.97'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:28:39.97')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:28:39.97')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:28:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1323  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441321;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1323  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441321;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:28:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441323;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:42.032727' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:42.256665' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000759  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:42.308798' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:42.119906' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:42.312382' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:42.341095' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625441323;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:42.44252' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:42.610114' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441323;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1326  Schema:   QC_hit: No
# Query_time: 0.001004  Lock_time: 0.000897  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441324;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1326  Schema:   QC_hit: No
# Query_time: 0.002592  Lock_time: 0.002456  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441324;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:28:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441327;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625441328;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:42.484471' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441328;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:47.364598' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441328;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:47.509371' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001591  Lock_time: 0.000422  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441328;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441328;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:47.652368' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441328;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:47.81671' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441328;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:47.744941' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1330  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441331;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1330  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441331;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:28:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441334;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1332  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441334;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1332  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441334;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:28:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441335;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441335;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:54.560258' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441335;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:54.560445' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441336;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441336;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:55.574724' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000784  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441336;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:28:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441337;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:56.576384' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441338;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:57.662505' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441338;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441338;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:57.936765' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:28:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441339;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441339;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:58.626296' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:29:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  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=1625441340;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:59.412436' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441340;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:28:59.580486' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441340;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:29:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441341;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441341;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441341;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1334  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441341;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1334  Schema:   QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000276  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441341;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:29:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000739  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441342;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001233  Lock_time: 0.001054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441342;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441342;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:29:01.536971' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441342;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:29:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441343;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:29:02.535071' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001187  Lock_time: 0.001060  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441343;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:29:02.53721' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441343;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:29:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441344;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441344;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:29:03.540632' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1336  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441344;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1336  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441344;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:29:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1338  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441351;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1338  Schema:   QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441351;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:29:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1340  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441354;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1340  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441354;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:29:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1343  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441361;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1343  Schema:   QC_hit: No
# Query_time: 0.000128  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441361;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:29:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441364;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:29:23.17547' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1345  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441364;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1345  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441364;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:29:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1347  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441371;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1347  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441371;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:29:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1349  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441374;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1349  Schema:   QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000379  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441374;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:29:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001749  Lock_time: 0.001266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441379;
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-07-04 23:29:39.971'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:29:39.971')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:29:39.971')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:29:42
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1351  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441382;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1351  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=1625441382;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:29:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1353  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441384;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1353  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441384;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:29:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1355  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441391;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1355  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441391;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:29:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1357  Schema:   QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441394;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1357  Schema:   QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441394;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:30:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1359  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441401;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1359  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441401;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:30:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1361  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441404;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1361  Schema:   QC_hit: No
# Query_time: 0.000131  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441404;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:30:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1363  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441411;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1363  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441411;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:30:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1365  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441414;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1365  Schema:   QC_hit: No
# Query_time: 0.000139  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441414;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:30:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1367  Schema:   QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441421;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1367  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441421;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:30:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1369  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441424;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1369  Schema:   QC_hit: No
# Query_time: 0.000097  Lock_time: 0.000061  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441424;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:30:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1371  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441431;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1371  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=1625441431;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:30:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1373  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441434;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1373  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000081  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441434;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:30:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.030320  Lock_time: 0.029799  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625441440;
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-07-04 23:30:39.971'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:30:39.971')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:30:39.971')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:30:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1375  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441441;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1375  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441441;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:30:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1377  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441444;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1377  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441444;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:30:52
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1379  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441452;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1379  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441452;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:30:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1381  Schema:   QC_hit: No
# Query_time: 0.000844  Lock_time: 0.000399  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441454;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1381  Schema:   QC_hit: No
# Query_time: 0.000800  Lock_time: 0.000730  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441454;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:31:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1383  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441461;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1383  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441461;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:31:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1385  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441464;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1385  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441464;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:31:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1387  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441471;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1387  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441471;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:31:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1389  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441474;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1389  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=1625441474;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:31:22
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1391  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441482;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1391  Schema:   QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441482;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:31:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1393  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441485;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1393  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441485;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:31:32
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1395  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441492;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1395  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441492;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:31:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1397  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441494;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1397  Schema:   QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441494;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:31:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002772  Lock_time: 0.001729  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625441499;
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-07-04 23:31:39.971'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:31:39.971')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:31:39.971')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:31:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1399  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441501;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1399  Schema:   QC_hit: No
# Query_time: 0.000117  Lock_time: 0.000074  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441501;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:31:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1401  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441504;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1401  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441504;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:31:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1403  Schema:   QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441511;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1403  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441511;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:31:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1405  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441515;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1405  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441515;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:32:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1407  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441521;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1407  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441521;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:32:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1409  Schema:   QC_hit: No
# Query_time: 0.007479  Lock_time: 0.007374  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441524;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:32:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1409  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441525;
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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000829  Lock_time: 0.000320  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441525;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441525;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001154  Lock_time: 0.000410  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441525;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000626  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441525;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:32:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441526;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:05.540334' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625441526;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:05.54066' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001502  Lock_time: 0.001343  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441527;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:06.534885' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002805  Lock_time: 0.002403  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441527;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:32:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441528;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:07.540211' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441528;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:07.53652' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000856  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441529;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441529;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005708  Lock_time: 0.005361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441531;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:10.536642' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1412  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441531;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1412  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441531;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:32:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441532;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441532;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:11.537083' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441533;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:12.534018' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441533;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:12.535229' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441534;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441534;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:13.537057' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441534;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:13.535905' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1414  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441534;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1414  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441534;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:32:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441535;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441536;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441538;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441538;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:17.536635' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  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=1625441539;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:18.53689' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000816  Lock_time: 0.000641  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441540;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441540;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:19.536065' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441541;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:20.536645' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1416  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441541;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1416  Schema:   QC_hit: No
# Query_time: 0.000132  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441541;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:32:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001617  Lock_time: 0.001455  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441542;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:21.53478' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441543;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441543;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:22.535865' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000318  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441544;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441544;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:23.536128' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1418  Schema:   QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441544;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1418  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441544;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:32:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441545;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  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=1625441545;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:24.544101' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441546;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:25.536779' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441547;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441547;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:26.536775' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001577  Lock_time: 0.001012  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441548;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441548;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:27.536825' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441549;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:28.536653' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000720  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441550;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:32:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001075  Lock_time: 0.000778  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441551;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:30.536223' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1420  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441551;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1420  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441551;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:32:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441552;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441552;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001319  Lock_time: 0.001198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441552;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:31.536559' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441553;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441554;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:33.536443' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441554;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:33.536383' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1422  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441554;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1422  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=1625441554;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:32:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441555;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441555;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:34.535525' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441556;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441556;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:35.535954' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441557;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:36.536476' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000351  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441558;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441558;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:37.5368' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441559;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:38.536466' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001251  Lock_time: 0.001006  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441559;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001218  Lock_time: 0.000536  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441559;
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-07-04 23:32:39.971'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:32:39.971')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:32:39.971')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:32:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441560;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001514  Lock_time: 0.001264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441560;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:39.536345' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441561;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1424  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441561;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1424  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441561;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:32:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441562;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441563;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:42.537087' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441564;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441564;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441564;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:43.536329' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1426  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441564;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1426  Schema:   QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441564;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:32:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000774  Lock_time: 0.000650  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441565;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441565;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:44.536507' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441566;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:45.536209' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000888  Lock_time: 0.000737  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441566;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:45.536373' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441567;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441567;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441567;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:46.536596' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441568;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000839  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441569;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441569;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:48.536026' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441570;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441570;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:49.536227' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441571;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:50.536656' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1428  Schema:   QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441571;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1428  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441571;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:32:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441572;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441573;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:52.536035' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000376  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441574;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001308  Lock_time: 0.001112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441574;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:53.53646' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1430  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441574;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1430  Schema:   QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441574;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:32:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000835  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441575;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000900  Lock_time: 0.000779  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441575;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:54.536797' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441576;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000993  Lock_time: 0.000805  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441576;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:55.536119' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000832  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441577;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000596  Lock_time: 0.000449  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441577;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:32:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441579;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441579;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:32:58.536884' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441580;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441580;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001336  Lock_time: 0.001062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441581;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441581;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:00.536607' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1432  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441581;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1432  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441581;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:33:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441582;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000980  Lock_time: 0.000825  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441582;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:01.536068' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441583;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441583;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:02.535927' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000773  Lock_time: 0.000533  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441584;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625441584;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:03.536639' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1436  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441584;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1436  Schema:   QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441584;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:33:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001149  Lock_time: 0.000483  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441585;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:33:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441586;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:05.535903' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441586;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:05.536023' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441587;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441587;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:06.539607' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441587;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:33:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441588;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:07.54782' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000788  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441589;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441589;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:08.53695' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441590;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441590;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:09.536301' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001183  Lock_time: 0.000955  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441591;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1438  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441591;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1438  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441591;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:33:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441592;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441593;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441593;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:12.536953' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441594;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001356  Lock_time: 0.001096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441594;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:13.536341' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1440  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441594;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1440  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441594;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:33:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000705  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441595;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:33:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441596;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:15.536419' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441597;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441598;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:17.544554' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441600;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:18.555768' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441600;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:19.57361' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441601;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:20.612497' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1442  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441601;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1442  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441601;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:33:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441602;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441603;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:22.680427' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1444  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441604;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1444  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441604;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:33:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441605;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:24.544509' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441606;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441608;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:27.544992' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441609;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:28.549504' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441609;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441609;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:28.701259' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441609;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:33:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004981  Lock_time: 0.004647  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441610;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441610;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:29.584004' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441611;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441611;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:30.540252' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1446  Schema:   QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441611;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1446  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441611;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:33:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000761  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441614;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441614;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000718  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441614;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441614;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441614;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:33.61834' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441614;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:33.836977' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441614;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:33.600549' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1448  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441614;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1448  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441614;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:33:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000755  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441615;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441615;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:34.536474' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441616;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:35.549858' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441617;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004162  Lock_time: 0.003984  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441618;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000771  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441619;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:33:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000909  Lock_time: 0.000426  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441620;
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-07-04 23:33:39.974'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:33:39.974')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:33:39.974')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441620;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:39.564527' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1450  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441621;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1450  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441621;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:33:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000794  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441622;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441622;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:41.329419' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000689  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441622;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441622;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441623;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:42.545566' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441623;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:42.548362' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1452  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441624;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1452  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441624;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:33:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441625;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000692  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441625;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:33:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003179  Lock_time: 0.002960  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441626;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:44.544405' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441626;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:45.216483' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000507  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441627;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:46.956999' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441627;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441628;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441628;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:47.000456' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441628;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:45.253664' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441628;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441629;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441631;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441631;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:50.060318' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441631;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441631;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:50.536894' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1454  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441631;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1454  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441631;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:33:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441632;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:51.541686' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:33:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.352802  Lock_time: 0.352561  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441633;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:52.546619' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.346375  Lock_time: 0.346007  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441633;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:33:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1456  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441634;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1456  Schema:   QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441634;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:34:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1458  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441641;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1458  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441641;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:34:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001660  Lock_time: 0.001424  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441643;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:33:52.548687' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:34:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1460  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441644;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1460  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441644;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:34:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441647;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441647;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:34:06.582359' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:34:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1462  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=1625441651;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1462  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441651;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:34:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441654;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441654;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441654;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:34:13.537365' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1464  Schema:   QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441654;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1464  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441654;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:34:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1466  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441661;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1466  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441661;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:34:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1468  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441664;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1468  Schema:   QC_hit: No
# Query_time: 0.000115  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441664;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:34:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1470  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441671;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1470  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000072  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441671;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441671;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000695  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441671;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:34:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441672;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  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=1625441672;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:34:31.025338' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441672;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:34:31.026909' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441672;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:34:31.027873' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441672;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441672;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:34:31.153429' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  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=1625441672;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625441672;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:34:31.373813' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441672;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:34:31.569242' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:34:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000740  Lock_time: 0.000353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441673;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441673;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:34:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1472  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441674;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1472  Schema:   QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000327  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441674;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:34:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.048905  Lock_time: 0.048494  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441680;
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-07-04 23:34:39.973'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:34:39.973')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:34:39.973')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:34:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1474  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441681;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1474  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441681;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:34:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1476  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441684;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1476  Schema:   QC_hit: No
# Query_time: 0.000791  Lock_time: 0.000683  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441684;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
2021-07-04 23:34:53 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection to peer d1258283-a4e3 with addr tcp://10.242.8.206:4567 timed out, no messages seen in PT3S, socket stats: rtt: 3790 rttvar: 6502 rto: 204000 lost: 0 last_data_recv: 3060 cwnd: 10 last_queued_since: 18104 last_delivered_since: 3060887950 send_queue_length: 1 send_queue_bytes: 360 segment: 0 messages: 1
2021-07-04 23:34:53 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: tcp://10.242.8.206:4567 
2021-07-04 23:34:54 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') reconnecting to d1258283-a4e3 (tcp://10.242.8.206:4567), attempt 0
2021-07-04 23:34:54 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
# Time: 210704 23:34:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1480  Schema:   QC_hit: No
# Query_time: 0.005565  Lock_time: 0.005469  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1478  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1478  Schema:   QC_hit: No
# Query_time: 0.000104  Lock_time: 0.000062  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1480  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
2021-07-04 23:34:57 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
# Time: 210704 23:35:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441700;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441700;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:34:58.545125' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441700;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441700;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:34:59.600705' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000860  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441700;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441700;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:35:02
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1482  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441702;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1482  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441702;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:35:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1484  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441704;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1484  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441704;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
2021-07-04 23:35:08 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection to peer d1258283-a4e3 with addr tcp://10.242.8.206:4567 timed out, no messages seen in PT3S, socket stats: rtt: 5981 rttvar: 10165 rto: 208000 lost: 0 last_data_recv: 3184 cwnd: 10 last_queued_since: 339923706 last_delivered_since: 3183592011 send_queue_length: 0 send_queue_bytes: 0 segment: 0 messages: 0
2021-07-04 23:35:08 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: tcp://10.242.8.206:4567 
2021-07-04 23:35:09 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') reconnecting to d1258283-a4e3 (tcp://10.242.8.206:4567), attempt 0
2021-07-04 23:35:10 0 [Note] WSREP: evs::proto(11feeaec-b6ba, OPERATIONAL, view_id(REG,11feeaec-b6ba,13)) suspecting node: d1258283-a4e3
2021-07-04 23:35:10 0 [Note] WSREP: evs::proto(11feeaec-b6ba, OPERATIONAL, view_id(REG,11feeaec-b6ba,13)) suspected node without join message, declaring inactive
2021-07-04 23:35:11 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:35:11 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:35:11 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:35:11 0 [Warning] WSREP: 11feeaec-b6ba sending install message failed: Resource temporarily unavailable
2021-07-04 23:35:12 0 [Note] WSREP: declaring d1258283-a4e3 at tcp://10.242.8.206:4567 stable
2021-07-04 23:35:12 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:35:12 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:35:12 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,15) memb {
	11feeaec-b6ba,0
	d1258283-a4e3,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
})
2021-07-04 23:35:12 0 [Note] WSREP: save pc into disk
2021-07-04 23:35:12 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 3
2021-07-04 23:35:12 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 7a4ab266-dd20-11eb-b354-9eeadf666386
2021-07-04 23:35:12 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 7a4ab266-dd20-11eb-b354-9eeadf666386
2021-07-04 23:35:12 0 [Note] WSREP: STATE EXCHANGE: got state msg: 7a4ab266-dd20-11eb-b354-9eeadf666386 from 0 (dev-mariadb-galera-2)
2021-07-04 23:35:12 0 [Note] WSREP: STATE EXCHANGE: got state msg: 7a4ab266-dd20-11eb-b354-9eeadf666386 from 2 (dev-mariadb-galera-1)
2021-07-04 23:35:13 0 [Note] WSREP: STATE EXCHANGE: got state msg: 7a4ab266-dd20-11eb-b354-9eeadf666386 from 1 (dev-mariadb-galera-0)
2021-07-04 23:35:13 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 11,
	members    = 3/3 (joined/total),
	act_id     = 3772,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:35:13 0 [Note] WSREP: Flow-control interval: [28, 28]
2021-07-04 23:35:13 1 [Note] WSREP: ####### processing CC 3773, local, ordered
2021-07-04 23:35:13 1 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:35:13 1 [Note] WSREP: Skipping cert index reset
2021-07-04 23:35:13 1 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:35:13 1 [Note] WSREP: ####### Adjusting cert position: 3772 -> 3773
2021-07-04 23:35:13 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:35:13 1 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3773
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(3):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: d1258283-dd18-11eb-a4e3-2fff58d4b81d, dev-mariadb-galera-0
	2: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:35:13 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:35:13 1 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:35:13 1 [Note] WSREP: Min available from gcache for CC from group: 818
# Time: 210704 23:35:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1486  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441713;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1486  Schema:   QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441713;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
2021-07-04 23:35:14 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
2021-07-04 23:35:16 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection to peer d1258283-a4e3 with addr tcp://10.242.8.206:4567 timed out, no messages seen in PT3S, socket stats: rtt: 5720 rttvar: 9775 rto: 208000 lost: 0 last_data_recv: 3092 cwnd: 10 last_queued_since: 10663 last_delivered_since: 3089720849 send_queue_length: 1 send_queue_bytes: 360 segment: 0 messages: 1
2021-07-04 23:35:16 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: tcp://10.242.8.206:4567 
2021-07-04 23:35:17 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') reconnecting to d1258283-a4e3 (tcp://10.242.8.206:4567), attempt 0
2021-07-04 23:35:18 0 [Note] WSREP: evs::proto(11feeaec-b6ba, OPERATIONAL, view_id(REG,11feeaec-b6ba,15)) suspecting node: d1258283-a4e3
2021-07-04 23:35:18 0 [Note] WSREP: evs::proto(11feeaec-b6ba, OPERATIONAL, view_id(REG,11feeaec-b6ba,15)) suspected node without join message, declaring inactive
2021-07-04 23:35:18 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:35:18 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:35:18 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,16) memb {
	11feeaec-b6ba,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
	d1258283-a4e3,0
})
2021-07-04 23:35:18 0 [Note] WSREP: save pc into disk
2021-07-04 23:35:18 0 [Note] WSREP: forgetting d1258283-a4e3 (tcp://10.242.8.206:4567)
2021-07-04 23:35:18 0 [Note] WSREP: deleting entry tcp://10.242.8.206:4567
2021-07-04 23:35:18 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
2021-07-04 23:35:18 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 2
2021-07-04 23:35:18 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 7ddd9b1f-dd20-11eb-b3b8-5693be63a5cd
2021-07-04 23:35:18 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 7ddd9b1f-dd20-11eb-b3b8-5693be63a5cd
2021-07-04 23:35:18 0 [Note] WSREP: STATE EXCHANGE: got state msg: 7ddd9b1f-dd20-11eb-b3b8-5693be63a5cd from 0 (dev-mariadb-galera-2)
2021-07-04 23:35:18 0 [Note] WSREP: STATE EXCHANGE: got state msg: 7ddd9b1f-dd20-11eb-b3b8-5693be63a5cd from 1 (dev-mariadb-galera-1)
2021-07-04 23:35:18 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 12,
	members    = 2/2 (joined/total),
	act_id     = 3773,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:35:18 0 [Note] WSREP: Flow-control interval: [23, 23]
2021-07-04 23:35:18 1 [Note] WSREP: ####### processing CC 3774, local, ordered
2021-07-04 23:35:18 1 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:35:18 1 [Note] WSREP: Skipping cert index reset
2021-07-04 23:35:18 1 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:35:18 1 [Note] WSREP: ####### Adjusting cert position: 3773 -> 3774
2021-07-04 23:35:18 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:35:18 1 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3774
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(2):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:35:18 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:35:18 1 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:35:18 1 [Note] WSREP: Min available from gcache for CC from group: 818
2021-07-04 23:35:21 0 [Note] WSREP:  cleaning up d1258283-a4e3 (tcp://10.242.8.206:4567)
# Time: 210704 23:35:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1490  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441721;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1490  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441721;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:35:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1492  Schema:   QC_hit: No
# Query_time: 0.001039  Lock_time: 0.000901  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441724;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1492  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441724;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
2021-07-04 23:35:29 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:35:29 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: 
2021-07-04 23:35:30 0 [Note] WSREP: declaring d1258283-a4e3 at tcp://10.242.8.206:4567 stable
2021-07-04 23:35:30 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:35:31 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:35:32 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,17) memb {
	11feeaec-b6ba,0
	d1258283-a4e3,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
})
2021-07-04 23:35:32 0 [Note] WSREP: save pc into disk
2021-07-04 23:35:32 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 3
2021-07-04 23:35:32 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 85e68fe5-dd20-11eb-ad39-02c077bd94ec
2021-07-04 23:35:32 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 85e68fe5-dd20-11eb-ad39-02c077bd94ec
2021-07-04 23:35:32 0 [Note] WSREP: STATE EXCHANGE: got state msg: 85e68fe5-dd20-11eb-ad39-02c077bd94ec from 0 (dev-mariadb-galera-2)
2021-07-04 23:35:32 0 [Note] WSREP: STATE EXCHANGE: got state msg: 85e68fe5-dd20-11eb-ad39-02c077bd94ec from 1 (dev-mariadb-galera-0)
2021-07-04 23:35:32 0 [Note] WSREP: STATE EXCHANGE: got state msg: 85e68fe5-dd20-11eb-ad39-02c077bd94ec from 2 (dev-mariadb-galera-1)
2021-07-04 23:35:32 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 13,
	members    = 2/3 (joined/total),
	act_id     = 3774,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:35:32 0 [Note] WSREP: Flow-control interval: [28, 28]
2021-07-04 23:35:32 1 [Note] WSREP: ####### processing CC 3775, local, ordered
2021-07-04 23:35:32 1 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:35:32 1 [Note] WSREP: Skipping cert index reset
2021-07-04 23:35:32 1 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:35:32 1 [Note] WSREP: ####### Adjusting cert position: 3774 -> 3775
2021-07-04 23:35:32 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:35:32 1 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3775
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(3):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: d1258283-dd18-11eb-a4e3-2fff58d4b81d, dev-mariadb-galera-0
	2: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:35:32 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:35:32 1 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:35:32 1 [Note] WSREP: Min available from gcache for CC from group: 818
# Time: 210704 23:35:32
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1494  Schema:   QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441732;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1494  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441732;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:35:32 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
2021-07-04 23:35:33 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-0) requested state transfer from '*any*'. Selected 2.0 (dev-mariadb-galera-1)(SYNCED) as donor.
2021-07-04 23:35:33 0 [Note] WSREP: 2.0 (dev-mariadb-galera-1): State transfer to 1.0 (dev-mariadb-galera-0) complete.
2021-07-04 23:35:33 0 [Note] WSREP: Member 2.0 (dev-mariadb-galera-1) synced with group.
# Time: 210704 23:35:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1496  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441734;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1496  Schema:   QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000077  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441734;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:35:35 0 [Note] WSREP: 1.0 (dev-mariadb-galera-0): State transfer from 2.0 (dev-mariadb-galera-1) complete.
2021-07-04 23:35:35 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-0) synced with group.
# Time: 210704 23:35:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002247  Lock_time: 0.001639  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441739;
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-07-04 23:35:39.972'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:35:39.972')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:35:39.972')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:35:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1498  Schema:   QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000278  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441741;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1498  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441741;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:35:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1500  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441744;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1500  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441744;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:35:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000979  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441749;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441749;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:35:48.540267' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:35:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441751;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441751;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441751;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:35:50.220682' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441751;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441751;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:35:50.572499' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1502  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441751;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1502  Schema:   QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441751;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:35:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441752;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:35:51.586616' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441752;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:35:51.586767' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:35:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441753;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441753;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:35:52.540453' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441753;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:35:52.567883' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:35:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1504  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441754;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1504  Schema:   QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441754;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:35:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441756;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:35:55.897266' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441756;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:35:55.900205' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441756;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:35:55.884803' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441756;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:35:55.92589' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441756;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:35:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441757;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:35:55.981231' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441757;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:35:56.556828' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:35:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441758;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:35:57.536977' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:36:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1506  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441761;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1506  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441761;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:36:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1508  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441764;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1508  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441764;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:36:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1510  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441771;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1510  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441771;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:36:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1512  Schema:   QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441774;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1512  Schema:   QC_hit: No
# Query_time: 0.005303  Lock_time: 0.005199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441774;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:36:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1514  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441781;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1514  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441781;
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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441781;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:36:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000776  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441783;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:36:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001156  Lock_time: 0.000804  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441784;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:36:20.932455' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1516  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441784;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1516  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441784;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:36:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441785;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:36:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1518  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441791;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1518  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441791;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:36:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1520  Schema:   QC_hit: No
# Query_time: 0.001582  Lock_time: 0.001461  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441794;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1520  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441794;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:36:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.010374  Lock_time: 0.009924  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441799;
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-07-04 23:36:39.973'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:36:39.973')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:36:39.973')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:36:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1522  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441801;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1522  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441801;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:36:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1524  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441804;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1524  Schema:   QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441804;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:36:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1526  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=1625441811;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1526  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441811;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:36:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441813;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:36:22.148322' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:36:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441814;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441814;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:36:53.536195' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1528  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441814;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1528  Schema:   QC_hit: No
# Query_time: 0.000108  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441814;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:36:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000692  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441815;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  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=1625441815;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:36:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441816;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000358  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441816;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:36:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441818;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001072  Lock_time: 0.000807  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441818;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:36:57.536539' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:36:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441819;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000042  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441819;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441820;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:36:59.536662' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441821;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441821;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:00.535849' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1530  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441821;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1530  Schema:   QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441821;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:37:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441822;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:01.536786' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441823;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441823;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441823;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:02.539046' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441823;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:02.538879' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441824;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441824;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:03.534063' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1532  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441824;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1532  Schema:   QC_hit: No
# Query_time: 0.000115  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441824;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:37:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441825;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:04.53632' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441826;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:05.536537' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000509  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441827;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:06.535677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001279  Lock_time: 0.000847  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441828;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441828;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441829;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:08.536939' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000738  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441830;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441830;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001108  Lock_time: 0.000851  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441830;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:09.536095' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441831;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1534  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441831;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1534  Schema:   QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441831;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:37:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  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=1625441832;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001317  Lock_time: 0.001127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441834;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:13.536393' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1536  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=1625441834;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1536  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441834;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:37:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441835;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441835;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:14.540515' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441836;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441836;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:15.536262' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441837;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:16.542838' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441839;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001155  Lock_time: 0.000854  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441840;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:19.537465' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001087  Lock_time: 0.000915  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441840;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:19.53725' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000698  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441841;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441841;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441841;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:20.536318' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1538  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441841;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1538  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441841;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:37:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441842;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441842;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:21.536403' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441843;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:22.536517' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441844;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000769  Lock_time: 0.000647  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441844;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1540  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441844;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1540  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441844;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:37:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441846;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:37:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441847;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:26.535917' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441848;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441848;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:27.536257' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441848;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:27.540206' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001970  Lock_time: 0.001486  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441849;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441849;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441850;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:29.537108' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441851;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000750  Lock_time: 0.000661  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441851;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1542  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441851;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1542  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441851;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:37:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441852;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:31.537215' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441853;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441853;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:32.535829' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441854;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1544  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441854;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1544  Schema:   QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000255  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441854;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:37:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441855;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:34.536409' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000901  Lock_time: 0.000758  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441856;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441856;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:35.536711' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001061  Lock_time: 0.000846  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441857;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:36.536467' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001181  Lock_time: 0.000972  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441857;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:36.536026' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  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=1625441858;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001248  Lock_time: 0.001092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441858;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:37.536693' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441859;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441859;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:38.535953' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001206  Lock_time: 0.000598  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441859;
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-07-04 23:37:39.975'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:37:39.975')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:37:39.975')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:37:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441860;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:39.536229' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441860;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:39.536922' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000678  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441861;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1546  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441861;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1546  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441861;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:37:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441862;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:41.536483' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441863;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:37:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1548  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441864;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1548  Schema:   QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441864;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:37:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441865;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441865;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441866;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:45.535672' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441866;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:45.53627' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441867;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441867;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441867;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:46.536796' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441868;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441868;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:47.536398' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441869;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001155  Lock_time: 0.001065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441869;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441869;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:48.536725' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001179  Lock_time: 0.000907  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441870;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:49.536077' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441870;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:49.536421' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441871;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:50.536977' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1550  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441871;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1550  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441871;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:37:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441872;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441872;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:51.53619' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441873;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:52.536559' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441874;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000593  Lock_time: 0.000420  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441874;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:53.53641' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1552  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441874;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1552  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441874;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:37:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441875;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:54.535892' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001240  Lock_time: 0.001014  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441876;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000921  Lock_time: 0.000760  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441876;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:55.536592' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441877;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441877;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441878;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:57.535952' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000936  Lock_time: 0.000671  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441878;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:57.536429' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:37:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441879;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001283  Lock_time: 0.001089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441879;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441880;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441880;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:37:59.536712' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000714  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441881;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1554  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441881;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1554  Schema:   QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441881;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:38:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441882;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441883;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:02.536414' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001219  Lock_time: 0.001019  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441884;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441884;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:03.535872' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1556  Schema:   QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000315  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441884;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1556  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441884;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:38:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441885;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:04.53637' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001141  Lock_time: 0.000882  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441886;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:05.536261' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001042  Lock_time: 0.000758  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441886;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:05.536551' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000747  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441887;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441887;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441888;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441889;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441889;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:08.53673' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000958  Lock_time: 0.000728  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441890;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441890;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:09.536076' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000942  Lock_time: 0.000692  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441891;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:10.536106' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1558  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441891;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1558  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441891;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:38:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441892;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000876  Lock_time: 0.000766  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441892;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:11.536392' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  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=1625441893;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001171  Lock_time: 0.000938  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441893;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:12.537435' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441894;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441894;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1560  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441894;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1560  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=1625441894;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:38:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441895;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:14.536439' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000862  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441896;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441896;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:15.535847' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441897;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:16.536351' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441897;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:16.53577' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000906  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441898;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000613  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441898;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  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=1625441899;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:18.53707' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441900;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001070  Lock_time: 0.000940  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441900;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:19.536549' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441901;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441901;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:20.536308' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1562  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441901;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1562  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441901;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:38:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441902;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000800  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441903;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441903;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:22.536763' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000530  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441904;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441904;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:23.535504' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1564  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=1625441904;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1564  Schema:   QC_hit: No
# Query_time: 0.000096  Lock_time: 0.000056  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441904;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:38:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441905;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:24.53626' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441906;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441906;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441906;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:25.536403' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441907;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:26.537416' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000695  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441908;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  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=1625441908;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001156  Lock_time: 0.000982  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441908;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:27.536716' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441909;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  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=1625441910;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441911;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1566  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441911;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1566  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441911;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:38:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000477  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441912;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441912;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:31.535618' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441913;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441913;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:32.535822' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441914;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441914;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:33.535784' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1568  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441914;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1568  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441914;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:38:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000593  Lock_time: 0.000445  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441915;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441915;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:34.536103' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441916;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441917;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441917;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:36.535721' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441918;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441918;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441919;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441919;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:38.536421' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441919;
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-07-04 23:38:39.975'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:38:39.975')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:38:39.975')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:38:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441920;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:39.536411' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441920;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:39.536331' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000872  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441921;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441921;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:40.536181' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1570  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441921;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1570  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441921;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:38:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001143  Lock_time: 0.000896  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441922;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441922;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:41.536628' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441923;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000900  Lock_time: 0.000715  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441923;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:42.536347' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441924;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441924;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:43.535698' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1572  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441924;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1572  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441924;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:38:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441925;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:38:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441926;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:45.535856' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441926;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:45.535795' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000876  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441927;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000919  Lock_time: 0.000803  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441927;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441928;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:47.535803' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441929;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441929;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441929;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:48.535981' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000718  Lock_time: 0.000522  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441930;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:49.535902' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000776  Lock_time: 0.000491  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441930;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:49.535598' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000770  Lock_time: 0.000576  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441931;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004904  Lock_time: 0.004696  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441931;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:50.535819' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1574  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441931;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1574  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441931;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:38:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000803  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441932;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:38:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441933;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:52.535809' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000807  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441934;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001624  Lock_time: 0.001465  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441934;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:53.535921' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1576  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441934;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1576  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441934;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:38:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000458  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441935;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441936;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441936;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441937;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:56.535985' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441937;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:56.535918' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441938;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441938;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:57.536053' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441938;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:57.537296' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:38:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441939;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001622  Lock_time: 0.001490  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441939;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441939;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:58.536564' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441940;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:59.536627' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441940;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:38:59.537542' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441941;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000816  Lock_time: 0.000707  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441941;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1578  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441941;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1578  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441941;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:39:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441942;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:01.53522' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441943;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:02.536975' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441944;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441944;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:03.536661' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1580  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441944;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1580  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441944;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:39:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441945;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:04.536372' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441946;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441947;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:06.5366' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000506  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441947;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:06.536809' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441948;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000906  Lock_time: 0.000789  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441948;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:07.535723' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001001  Lock_time: 0.000832  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441949;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:08.536531' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000807  Lock_time: 0.000559  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441949;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:08.536383' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441950;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:09.536241' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441951;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000276  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441951;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:10.53598' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1582  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441951;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1582  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=1625441951;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:39:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441952;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:11.534673' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441953;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:12.53616' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441954;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:13.536838' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441954;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:13.536837' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1584  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441954;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1584  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441954;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:39:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000868  Lock_time: 0.000617  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441955;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:14.536287' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441956;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441956;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:15.535584' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441957;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:16.535406' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441958;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000945  Lock_time: 0.000378  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441958;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:39:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441959;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:18.536321' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441960;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000907  Lock_time: 0.000814  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441960;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441960;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:19.536203' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000644  Lock_time: 0.000420  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441961;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:20.535966' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001151  Lock_time: 0.000885  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441961;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1586  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441961;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1586  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441961;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:39:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001291  Lock_time: 0.001088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441962;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:21.536552' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001035  Lock_time: 0.000819  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441962;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:21.536861' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441963;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441963;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:22.535614' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441964;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441964;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:23.535778' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1588  Schema:   QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441964;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1588  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441964;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:39:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000750  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441965;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001769  Lock_time: 0.000702  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441965;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:24.535733' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441966;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000837  Lock_time: 0.000695  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441966;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:25.536018' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441967;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000789  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441968;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441968;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000678  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441969;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441969;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:28.535808' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441970;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:29.534087' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441971;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:30.536156' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1590  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441971;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1590  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441971;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:39:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441972;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:31.535999' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441973;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:32.536053' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000787  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441974;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006363  Lock_time: 0.006221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441974;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:33.536457' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006486  Lock_time: 0.006272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441974;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:33.536274' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1592  Schema:   QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441974;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1592  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441974;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:39:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441975;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441975;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:34.535608' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441976;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:35.535722' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441976;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:35.535768' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000495  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441977;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000427  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441977;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441978;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:37.535995' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000778  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441979;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001341  Lock_time: 0.001153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441979;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:38.535695' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000847  Lock_time: 0.000372  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625441979;
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-07-04 23:39:39.976'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:39:39.976')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:39:39.976')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:39:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001418  Lock_time: 0.001227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625441980;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:39.536711' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000915  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441981;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001386  Lock_time: 0.001117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441981;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:40.537394' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1594  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441981;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1594  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441981;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:39:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441982;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441983;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:42.536522' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441984;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1596  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441984;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1596  Schema:   QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441984;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:39:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441985;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:44.536075' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441986;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441986;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:45.535466' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441987;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441988;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:47.536122' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441988;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:47.536074' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441989;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441989;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441989;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:48.536239' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000753  Lock_time: 0.000584  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441990;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000747  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441991;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008061  Lock_time: 0.007924  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441991;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:50.535894' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1598  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441991;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1598  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441991;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:39:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441992;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441992;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:51.534619' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441993;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:52.536482' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441993;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:52.536463' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441994;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001249  Lock_time: 0.001137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441994;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:53.536086' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441994;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:53.540362' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1600  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625441994;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1600  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625441994;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:39:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441995;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001430  Lock_time: 0.001264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441995;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:54.536109' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000558  Lock_time: 0.000424  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441996;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441996;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:55.536348' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001158  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441997;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000993  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441998;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001182  Lock_time: 0.000919  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441998;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:39:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000650  Lock_time: 0.000549  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441999;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625441999;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:58.536512' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442000;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001448  Lock_time: 0.001199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442000;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:39:59.536306' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442001;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:00.536336' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442001;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:00.536221' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1602  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442001;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1602  Schema:   QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000299  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442001;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:40:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442002;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442002;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:01.536444' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  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=1625442003;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  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=1625442003;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:02.536267' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442004;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442004;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442004;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:03.537275' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1604  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=1625442004;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1604  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442004;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:40:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001241  Lock_time: 0.001030  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442005;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442005;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:04.536163' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001176  Lock_time: 0.000993  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442006;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000362  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442006;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:05.536364' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442007;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:06.53667' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442008;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442008;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000047  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442009;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442009;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:08.535761' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442010;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000937  Lock_time: 0.000793  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442011;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:10.536312' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000683  Lock_time: 0.000472  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442011;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:10.536199' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1606  Schema:   QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000307  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442011;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1606  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442011;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:40:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442012;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442012;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001171  Lock_time: 0.001042  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442012;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:11.536074' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000770  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442013;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442013;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:12.536502' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000658  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442014;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442014;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:13.53951' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1608  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442014;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1608  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442014;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:40:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442015;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442015;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:14.535845' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442016;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442016;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:15.535758' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000773  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442017;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:40:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442018;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442018;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:17.534883' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000459  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442019;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442020;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000530  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442020;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442021;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442021;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:20.536388' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1610  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442021;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1610  Schema:   QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000071  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442021;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:40:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000678  Lock_time: 0.000529  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442022;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:21.536211' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001266  Lock_time: 0.001104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442022;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442023;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001598  Lock_time: 0.001484  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442023;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:22.536586' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442024;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442024;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:23.535782' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1612  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442024;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1612  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=1625442024;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:40:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442025;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442025;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:24.535677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442026;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442026;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:25.536224' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001073  Lock_time: 0.000931  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442027;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001473  Lock_time: 0.001320  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442028;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442029;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001358  Lock_time: 0.001204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442029;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:28.535911' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000684  Lock_time: 0.000460  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442029;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:28.536567' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000755  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442030;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442030;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442030;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:29.540202' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442031;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  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=1625442031;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:30.536405' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1614  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442031;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1614  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442031;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:40:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000683  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442032;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000445  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442032;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442033;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:32.536203' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442033;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:32.536355' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000831  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442034;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000501  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442034;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442034;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:33.536383' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1616  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442034;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1616  Schema:   QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000341  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442034;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:40:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442035;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442036;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001006  Lock_time: 0.000867  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442036;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001026  Lock_time: 0.000856  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442037;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:36.536445' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001104  Lock_time: 0.000909  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442037;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:36.536428' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000757  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442038;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001259  Lock_time: 0.001024  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442038;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:37.536459' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442039;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000609  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442039;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000979  Lock_time: 0.000424  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625442039;
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-07-04 23:40:39.976'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:40:39.976')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:40:39.976')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:40:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625442040;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:39.53566' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442040;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:39.535993' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000680  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442041;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442041;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1618  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442041;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1618  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442041;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:40:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  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=1625442042;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:41.536763' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001172  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442043;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001106  Lock_time: 0.000968  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442043;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000432  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442043;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:42.536438' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001476  Lock_time: 0.001353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442044;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:43.536674' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1620  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442044;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1620  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442044;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:40:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442045;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:44.538423' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442045;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:44.539408' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442047;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:46.535745' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442048;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442048;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:47.535945' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000771  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442049;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000626  Lock_time: 0.000368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442049;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:48.535758' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442050;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:49.535841' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442051;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442051;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1622  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442051;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1622  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442051;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:40:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442052;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:51.5361' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442053;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000056  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442053;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442053;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:52.537685' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442054;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001000  Lock_time: 0.000904  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442054;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442054;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:53.536384' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1624  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=1625442054;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1624  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442054;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:40:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000933  Lock_time: 0.000738  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442055;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:54.536181' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442056;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442056;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:55.535759' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442057;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:56.536039' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442057;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:56.536025' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442058;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001387  Lock_time: 0.001251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442058;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:40:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442059;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:58.536535' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000996  Lock_time: 0.000846  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442060;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000437  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442060;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:40:59.536245' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001224  Lock_time: 0.000995  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442061;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:00.535738' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001228  Lock_time: 0.000989  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442061;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:00.535608' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1626  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442061;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1626  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442061;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:41:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442062;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442062;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001047  Lock_time: 0.000906  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442062;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:01.536428' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001108  Lock_time: 0.000901  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442063;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:02.536393' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000814  Lock_time: 0.000585  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442063;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:02.536426' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442064;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000894  Lock_time: 0.000692  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442064;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:03.536353' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1628  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442064;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1628  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442064;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:41:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001227  Lock_time: 0.001045  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442065;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:04.53633' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001227  Lock_time: 0.001040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442065;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:04.536485' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442066;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442067;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442067;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:06.536789' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442068;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000832  Lock_time: 0.000667  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442068;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442069;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001161  Lock_time: 0.000968  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442069;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:08.53591' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442070;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000850  Lock_time: 0.000699  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442070;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:09.536709' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442071;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000942  Lock_time: 0.000816  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442071;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:10.536978' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1630  Schema:   QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442071;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1630  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442071;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:41:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000707  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442072;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442072;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:11.536176' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442073;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:12.536228' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000794  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442074;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000517  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442074;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1632  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442074;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1632  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442074;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:41:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442075;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:14.533849' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442076;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442076;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:15.536744' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000746  Lock_time: 0.000565  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442077;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  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=1625442077;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:16.536809' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442078;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442078;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:17.53579' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000753  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442079;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442079;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:18.536555' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442079;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:18.536123' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442080;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000684  Lock_time: 0.000444  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442081;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:20.536105' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001128  Lock_time: 0.000900  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442081;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:20.535866' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1634  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442081;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1634  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442081;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:41:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000774  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442082;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000844  Lock_time: 0.000579  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442082;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:21.535824' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000741  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442083;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:41:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442084;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:23.536388' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1636  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442084;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1636  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442084;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:41:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442085;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442085;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:24.536413' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442086;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:25.53629' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442086;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001104  Lock_time: 0.000968  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442087;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442087;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:26.535803' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000809  Lock_time: 0.000671  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442088;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000476  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442088;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:27.536239' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000775  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442089;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001568  Lock_time: 0.001400  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442089;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:28.535886' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000605  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442090;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001725  Lock_time: 0.000959  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442090;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:29.536039' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001347  Lock_time: 0.001121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442091;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:30.536384' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1638  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442091;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1638  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442091;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:41:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442092;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442092;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442093;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:32.535967' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442093;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:32.535716' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442094;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442094;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:33.535768' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1640  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442094;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1640  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442094;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:41:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000483  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442095;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:34.535567' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001120  Lock_time: 0.000954  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442095;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000838  Lock_time: 0.000609  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442096;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:35.535652' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001295  Lock_time: 0.001048  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442096;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001160  Lock_time: 0.001014  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442097;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000746  Lock_time: 0.000617  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442097;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:36.536177' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000998  Lock_time: 0.000816  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442098;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001152  Lock_time: 0.000934  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442098;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:37.536321' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442099;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:38.536494' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000616  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625442099;
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-07-04 23:41:39.975'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:41:39.975')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:41:39.975')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:41:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000747  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625442100;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001388  Lock_time: 0.001130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442100;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:39.53624' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442101;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442101;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1642  Schema:   QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442101;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1642  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442101;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:41:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442102;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:41.536494' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442103;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:42.536358' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442104;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:43.535968' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1644  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442104;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1644  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442104;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:41:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001032  Lock_time: 0.000923  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442105;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000341  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442105;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:44.535956' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001113  Lock_time: 0.000920  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442106;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442106;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:45.535783' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000818  Lock_time: 0.000674  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442107;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442107;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:46.535961' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442108;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000976  Lock_time: 0.000849  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442108;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:47.535674' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442109;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000945  Lock_time: 0.000835  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442109;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:48.535799' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442110;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001122  Lock_time: 0.000970  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442110;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:49.536058' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000707  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442111;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000973  Lock_time: 0.000832  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442111;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:50.5366' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1646  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442111;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1646  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442111;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:41:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442112;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000660  Lock_time: 0.000543  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442112;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442113;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:52.535911' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000626  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442114;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001217  Lock_time: 0.001076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442114;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:53.535779' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442114;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1648  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442114;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1648  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442114;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:41:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442115;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442115;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442116;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442116;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:55.540421' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442117;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442118;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:57.536643' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442118;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:57.536767' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:41:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442119;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001347  Lock_time: 0.001109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442119;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:58.535595' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001056  Lock_time: 0.000787  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442120;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:41:59.536433' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442121;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1650  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442121;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1650  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=1625442121;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:42:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442122;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:01.536044' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442122;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:01.535832' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442123;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442123;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:02.535875' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442124;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:03.535669' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442124;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:03.535869' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1652  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442124;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1652  Schema:   QC_hit: No
# Query_time: 0.000112  Lock_time: 0.000072  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442124;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:42:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442125;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001451  Lock_time: 0.001297  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442125;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442126;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:05.536437' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442127;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:06.536945' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442128;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:07.535929' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000991  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442129;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000968  Lock_time: 0.000867  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442129;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442130;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442130;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442131;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:10.536675' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1654  Schema:   QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000473  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442131;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1654  Schema:   QC_hit: No
# Query_time: 0.001184  Lock_time: 0.001144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442131;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:42:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442132;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:11.53623' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442133;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:12.536289' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442134;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442134;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:13.5366' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1656  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442134;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1656  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442134;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:42:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442135;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442135;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:14.538878' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442136;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442137;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:16.536234' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442137;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:16.536006' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000604  Lock_time: 0.000449  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442138;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442138;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:17.536171' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442139;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:18.536561' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000913  Lock_time: 0.000779  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442140;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:19.53582' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001409  Lock_time: 0.001290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442140;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442141;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000803  Lock_time: 0.000644  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442141;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:20.53577' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1658  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442141;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1658  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442141;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:42:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442142;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001318  Lock_time: 0.001120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442142;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:21.535707' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442143;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000890  Lock_time: 0.000723  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442143;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  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=1625442143;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:22.537037' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001339  Lock_time: 0.001225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442144;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:23.53623' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1660  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442144;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1660  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=1625442144;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:42:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442145;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:24.536074' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442146;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442146;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:25.536718' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442147;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442147;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:26.536741' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442148;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001079  Lock_time: 0.000993  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442148;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000895  Lock_time: 0.000738  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442149;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000963  Lock_time: 0.000720  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442150;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:29.536019' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442151;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442151;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:30.536253' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1662  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442151;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1662  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442151;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:42:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000373  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442152;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442152;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:31.536332' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442153;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:32.535592' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442154;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442154;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:33.536403' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1664  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442154;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1664  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=1625442154;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:42:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442155;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:34.535814' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001051  Lock_time: 0.000898  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442155;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442156;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:35.535949' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001200  Lock_time: 0.000968  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442157;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001265  Lock_time: 0.001023  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442158;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000818  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442159;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442159;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:38.535953' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001267  Lock_time: 0.001082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442159;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:38.536736' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000832  Lock_time: 0.000316  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625442159;
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-07-04 23:42:39.986'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:42:39.986')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:42:39.986')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:42:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001105  Lock_time: 0.000858  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625442160;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:39.536901' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001278  Lock_time: 0.000955  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442160;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:39.536671' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442161;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442161;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:40.535944' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1666  Schema:   QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442161;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1666  Schema:   QC_hit: No
# Query_time: 0.002743  Lock_time: 0.002677  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442161;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:42:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442162;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442163;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:42.535862' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442163;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:42.536189' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000509  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442164;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000877  Lock_time: 0.000768  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442164;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1668  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442164;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1668  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442164;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:42:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442165;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:44.53621' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001210  Lock_time: 0.000999  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442166;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001044  Lock_time: 0.000775  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442166;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:45.536592' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442167;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442167;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:46.535584' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442168;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442168;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:47.535509' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442169;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442169;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:48.535788' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000620  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442170;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000478  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442170;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:49.536668' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442171;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001159  Lock_time: 0.000986  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442171;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:50.53602' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1670  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442171;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1670  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442171;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:42:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000986  Lock_time: 0.000767  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442172;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442173;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:52.536273' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442173;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:52.535995' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442174;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442174;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:53.536255' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1672  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000077  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442174;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1672  Schema:   QC_hit: No
# Query_time: 0.000094  Lock_time: 0.000053  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442174;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:42:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442175;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000506  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442175;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:54.535981' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000503  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442176;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442176;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:55.535734' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442177;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:56.537309' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:42:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442178;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:42:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000656  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442179;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442179;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:42:58.536373' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442180;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442180;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442181;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:00.533873' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442181;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:00.534003' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1674  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442181;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1674  Schema:   QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000275  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442181;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:43:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442182;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:01.536275' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442182;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:01.536332' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442183;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001675  Lock_time: 0.001470  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442183;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:02.536234' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  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=1625442183;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:02.536195' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442184;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1676  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442184;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1676  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442184;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:43:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442185;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:04.536924' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442187;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:06.536283' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442188;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:43:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442189;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:08.540988' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442190;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:09.539972' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000337  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442191;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:10.544327' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1678  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442191;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1678  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442191;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:43:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442192;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:43:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442193;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:12.540853' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442193;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:12.552711' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1680  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442194;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1680  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442194;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:43:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442198;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442198;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:17.923085' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442198;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001146  Lock_time: 0.000331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442198;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:43:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  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=1625442199;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442199;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:18.144644' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442199;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  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=1625442199;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:18.181343' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442199;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000732  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442199;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442199;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442199;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:18.269983' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442199;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:18.277872' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442199;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442199;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:17.985084' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442199;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:18.237067' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442199;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:18.53702' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000781  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442200;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442200;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:19.973021' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1683  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442201;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1683  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442201;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000385  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442201;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442201;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:20.820444' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004212  Lock_time: 0.004042  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442202;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:21.537998' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004339  Lock_time: 0.004212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442202;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:21.537904' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1685  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442204;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1685  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442204;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:43:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442209;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000061  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442209;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:28.047527' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442209;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442209;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442209;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442209;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:28.098185' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442209;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442209;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:28.216459' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442209;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442209;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:28.560845' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1687  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442211;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1687  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442211;
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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442211;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:30.836674' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000707  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442212;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  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=1625442212;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:31.548828' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442213;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:43:32.540506' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:43:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1689  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442214;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:43:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1689  Schema:   QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442215;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:43:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002781  Lock_time: 0.002093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625442220;
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-07-04 23:43:39.99'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:43:39.99')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:43:39.99')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:43:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1691  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442221;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1691  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442221;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:43:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1693  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442224;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1693  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442224;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:43:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1695  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442231;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1695  Schema:   QC_hit: No
# Query_time: 0.000184  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442231;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:43:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1697  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442234;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1697  Schema:   QC_hit: No
# Query_time: 0.000118  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442234;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:44:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1699  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442241;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1699  Schema:   QC_hit: No
# Query_time: 0.000132  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442241;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:44:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1701  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1701  Schema:   QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442245;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:44:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1703  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442251;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1703  Schema:   QC_hit: No
# Query_time: 0.000131  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442251;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:44:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1705  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442254;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1705  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442254;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:44:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1707  Schema:   QC_hit: No
# Query_time: 0.000759  Lock_time: 0.000630  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442261;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1707  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442261;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:44:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1709  Schema:   QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442264;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1709  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442264;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:44:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1711  Schema:   QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442271;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1711  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442271;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:44:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1713  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442274;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1713  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442274;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:44:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003349  Lock_time: 0.002643  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625442280;
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-07-04 23:44:39.979'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:44:39.979')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:44:39.979')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:44:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1715  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442281;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1715  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442281;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:44:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1717  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442284;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1717  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=1625442284;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:44:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1719  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442291;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1719  Schema:   QC_hit: No
# Query_time: 0.000117  Lock_time: 0.000073  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442291;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:44:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1721  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442294;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1721  Schema:   QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442294;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:45:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1723  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442301;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1723  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442301;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:45:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1729  Schema:   QC_hit: No
# Query_time: 0.001066  Lock_time: 0.000982  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442304;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1729  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442304;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:45:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1731  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442311;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1731  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442311;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:45:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1733  Schema:   QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442314;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1733  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442314;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:45:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1735  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442321;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1735  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442321;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:45:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1737  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442325;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1737  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442325;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:45:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1739  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442331;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1739  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442331;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:45:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1741  Schema:   QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000289  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442334;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1741  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442334;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:45:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.145901  Lock_time: 0.145123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625442340;
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-07-04 23:45:39.98'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:45:39.98')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:45:39.98')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:45:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1743  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442341;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1743  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442341;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:45:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1745  Schema:   QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000277  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442344;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1745  Schema:   QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000405  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442344;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:45:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1747  Schema:   QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000308  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442351;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1747  Schema:   QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442351;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:45:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1749  Schema:   QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000293  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442354;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1749  Schema:   QC_hit: No
# Query_time: 0.000122  Lock_time: 0.000081  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442354;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:46:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1751  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442361;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1751  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442361;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:46:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1753  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442364;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1753  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442364;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:46:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1755  Schema:   QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442371;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1755  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442371;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:46:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1757  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442374;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1757  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442374;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:46:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1759  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442381;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1759  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442381;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:46:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1761  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442384;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1761  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442384;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:46:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1763  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442391;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1763  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442391;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:46:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000799  Lock_time: 0.000449  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625442394;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001436  Lock_time: 0.000493  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442394;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442394;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:33.491203' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442394;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:33.490785' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000777  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442394;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442394;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:33.543195' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1765  Schema:   QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442394;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1765  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442394;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:46:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442395;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:34.553589' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442396;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:35.537478' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442397;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000524  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442397;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442398;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442398;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:37.536835' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000880  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442399;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000891  Lock_time: 0.000777  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442399;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.005596  Lock_time: 0.005160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625442399;
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-07-04 23:46:39.983'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:46:39.983')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:46:39.983')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:46:40
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625442400;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:39.536386' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442401;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442401;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1767  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442401;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1767  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442401;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:46:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442402;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442402;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:41.536816' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442402;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:41.544655' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000800  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442403;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442403;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:42.536799' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442404;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1769  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442404;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1769  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442404;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:46:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000665  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442405;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000061  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442405;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:44.535842' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442405;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:44.536758' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442406;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442406;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442406;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:45.536107' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442407;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442407;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442407;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:46.536636' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:48
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000646  Lock_time: 0.000299  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442408;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:47.536031' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442409;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:48.537939' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000343  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442409;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:48.537959' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442410;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442410;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:49.536306' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:51
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442411;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:50.536467' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1771  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442411;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1771  Schema:   QC_hit: No
# Query_time: 0.000110  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442411;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:46:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001603  Lock_time: 0.000920  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442412;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442413;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:52.542221' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  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=1625442413;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001113  Lock_time: 0.000919  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442414;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:53.537545' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000798  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442414;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1773  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=1625442414;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1773  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442414;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:46:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000659  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442415;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442415;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442416;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000044  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442416;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442416;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:55.536578' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:57
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442417;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:56.537113' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442417;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:56.537447' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442418;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000762  Lock_time: 0.000654  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442418;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:46:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442419;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:46:58.540723' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001251  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442420;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442420;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442421;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000060  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442421;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442421;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:00.536861' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1775  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442421;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1775  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442421;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:47:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442422;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:01.535608' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000441  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442423;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:02.535717' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001256  Lock_time: 0.001098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442423;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:04
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000793  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442424;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001352  Lock_time: 0.001214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442424;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1777  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442424;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1777  Schema:   QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442424;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:47:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002169  Lock_time: 0.001896  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442425;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442425;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:04.536452' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442426;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442426;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000765  Lock_time: 0.000589  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442426;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:05.535995' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442427;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442427;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:06.536908' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442428;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:07.536264' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442429;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442429;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001409  Lock_time: 0.001156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442429;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:08.536413' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442430;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:09.540675' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000654  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442431;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442431;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442431;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:10.536567' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1779  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442431;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1779  Schema:   QC_hit: No
# Query_time: 0.000720  Lock_time: 0.000637  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442431;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:47:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442432;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:11.536615' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442433;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442433;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442433;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:12.536243' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442434;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1781  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442434;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1781  Schema:   QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442434;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:47:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001399  Lock_time: 0.001178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442435;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:14.536109' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001347  Lock_time: 0.001092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442435;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:14.536112' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000677  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442436;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442436;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000861  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442437;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:16.536832' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000851  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442438;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000844  Lock_time: 0.000706  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442438;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625442438;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:17.537281' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000934  Lock_time: 0.000787  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442439;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:18.536333' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001057  Lock_time: 0.000936  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442439;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442440;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442441;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:20.535942' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1783  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442441;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1783  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442441;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:47:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000742  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442442;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000814  Lock_time: 0.000652  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442442;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442442;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:21.536076' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:23
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000041  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442443;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:22.53605' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000828  Lock_time: 0.000738  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442444;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1785  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=1625442444;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1785  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442444;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:47:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442445;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001231  Lock_time: 0.001031  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442445;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442446;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000877  Lock_time: 0.000665  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442446;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  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=1625442447;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:26.53727' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442448;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:27.536538' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000829  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442449;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001241  Lock_time: 0.001063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442449;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:28.536189' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000717  Lock_time: 0.000607  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442449;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000646  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442450;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442450;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001250  Lock_time: 0.001007  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442450;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:29.536627' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442451;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442451;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442451;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:30.537192' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1787  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442451;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1787  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442451;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:47:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442452;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:31.536454' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442453;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:47:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442454;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:33.538912' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1789  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442454;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1789  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442454;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:47:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442455;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442455;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:34.537588' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442458;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442458;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:37.536349' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000807  Lock_time: 0.000299  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625442459;
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-07-04 23:47:39.986'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:47:39.986')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:47:39.986')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:47:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000952  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625442461;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442461;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:40.139407' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442461;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:40.140771' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442461;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:40.53649' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442461;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:40.537219' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1791  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442461;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1791  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442461;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:47:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442462;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442464;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:43.540738' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442464;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442464;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442464;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1793  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442464;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1793  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=1625442464;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:47:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442466;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:47:49
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442469;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:48.944545' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442469;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442469;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:48.986006' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:50
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442470;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:49.005724' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442470;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442470;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442470;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:49.076476' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442470;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:45.596854' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:47:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1795  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442471;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1795  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442471;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:47:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1797  Schema:   QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442474;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1797  Schema:   QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000559  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442474;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:48:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442481;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442481;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442481;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:48:00.452712' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1799  Schema:   QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442481;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1799  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442481;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442481;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442481;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:48:00.87631' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442481;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  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=1625442481;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:48:00.898167' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:48:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1801  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442484;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1801  Schema:   QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442484;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:48:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1803  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442491;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1803  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442491;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:48:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1805  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442494;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1805  Schema:   QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442494;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:48:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1807  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442501;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1807  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442501;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:48:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1809  Schema:   QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442504;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1809  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442504;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:48:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1811  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442511;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1811  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442511;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:48:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1813  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442514;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1813  Schema:   QC_hit: No
# Query_time: 0.000132  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442514;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:48:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.182230  Lock_time: 0.181768  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625442520;
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-07-04 23:48:40.007'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:48:40.007')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:48:40.007')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:48:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1815  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442521;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1815  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442521;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:48:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1817  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442525;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1817  Schema:   QC_hit: No
# Query_time: 0.000114  Lock_time: 0.000074  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442525;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:48:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1819  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442531;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1819  Schema:   QC_hit: No
# Query_time: 0.000128  Lock_time: 0.000072  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442531;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:48:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1821  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442535;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1821  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442535;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:49:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1823  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442541;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1823  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442541;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:49:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1825  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442544;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1825  Schema:   QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442544;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:49:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1827  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442551;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1827  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442551;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:49:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1829  Schema:   QC_hit: No
# Query_time: 0.000880  Lock_time: 0.000517  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442555;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1829  Schema:   QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442555;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:49:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001167  Lock_time: 0.000433  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625442560;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:49:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1831  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442561;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1831  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442561;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:49:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1833  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442564;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1833  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442564;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:49:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1835  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442571;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1835  Schema:   QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442571;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:49:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1838  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442574;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1838  Schema:   QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442574;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:49:39
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000946  Lock_time: 0.000403  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625442579;
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-07-04 23:49:39.987'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:49:39.987')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:49:39.987')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:49:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1840  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442581;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1840  Schema:   QC_hit: No
# Query_time: 0.000138  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442581;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:49:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1842  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442584;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1842  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442584;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:49:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1844  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442591;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1844  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442591;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:49:52
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625442592;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:47:59.725121' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:49:53
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442593;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:49:54
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442594;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:49:53.536779' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442594;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:49:53.540619' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1846  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442594;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1846  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442594;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:49:55
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442595;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000821  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442595;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:49:58
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442598;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:49:57.407572' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002863  Lock_time: 0.002707  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442598;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:49:57.410134' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442598;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:49:57.413892' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  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=1625442598;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442598;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:49:57.540491' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442598;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:49:57.536897' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:49:59
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001264  Lock_time: 0.000958  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442599;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:49:58.536056' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003291  Lock_time: 0.002819  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442599;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:50:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442600;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:49:59.564691' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:01
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001398  Lock_time: 0.001074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442601;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:00.550062' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1848  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442601;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1848  Schema:   QC_hit: No
# Query_time: 0.000132  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442601;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:50:03
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442603;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:02.332323' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442603;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:02.542572' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000945  Lock_time: 0.000324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442603;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:50:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1850  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442604;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1850  Schema:   QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442604;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442604;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442604;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:03.983674' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:05
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442605;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:04.548451' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:06
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001711  Lock_time: 0.001579  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442606;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001062  Lock_time: 0.000927  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442606;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:05.541452' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:07
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442607;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:50:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442608;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:07.544543' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442608;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:50:10
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442610;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442610;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:09.628646' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442610;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:50:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1852  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442611;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1852  Schema:   QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442611;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:50:12
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442612;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:50:13
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442613;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:12.604426' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:14
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442614;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442614;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442614;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1854  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442614;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1854  Schema:   QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442614;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:50:15
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442615;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:14.56117' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:16
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004329  Lock_time: 0.003930  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442616;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  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=1625442616;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:15.545059' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:17
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442617;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:16.512415' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442617;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442617;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:16.59279' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:18
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442618;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442618;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:19
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442619;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:17.998926' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442619;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:18.540267' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442619;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:20
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442620;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442620;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:19.860546' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:21
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442621;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442621;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:20.544754' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1856  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442621;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1856  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442621;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:50:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000701  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442622;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442622;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:24
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442624;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442624;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442624;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:23.244773' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000656  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442624;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442624;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:23.580453' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1858  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442624;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1858  Schema:   QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000071  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442624;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:50:25
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  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=1625442625;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442625;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:24.968032' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442625;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:50:26
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000940  Lock_time: 0.000712  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442626;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:25.542052' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442630;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:29.567388' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442630;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:29.559172' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442630;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1860  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442631;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1860  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442631;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:50:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1862  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442634;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1862  Schema:   QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000525  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442634;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:50:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442636;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442637;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:29.620443' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442637;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:36.222085' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442638;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000697  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442638;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442638;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:37.535665' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442639;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:38.556377' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442639;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442639;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:38.551771' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000933  Lock_time: 0.000353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625442640;
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-07-04 23:50:40.007'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:50:40.007')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:50:40.007')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:50:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1864  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442641;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1864  Schema:   QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442641;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:50:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1866  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442644;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1866  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442644;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:50:46
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625442646;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000716  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442646;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442646;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:50:47
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442647;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442647;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:50:46.544224' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:50:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1868  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442651;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1868  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442651;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:50:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1870  Schema:   QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442654;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1870  Schema:   QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442654;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442654;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:51:00
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442660;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:51:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1872  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442661;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1872  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000261  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442661;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:51:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1874  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442664;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1874  Schema:   QC_hit: No
# Query_time: 0.000115  Lock_time: 0.000074  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442664;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:51:08
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442668;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:51:03.176468' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:51:09
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1102  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442669;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:51:07.868515' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 627  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442669;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:51:03.54046' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:51:11
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442671;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1876  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442671;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1876  Schema:   QC_hit: No
# Query_time: 0.001619  Lock_time: 0.001497  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442671;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:51:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1878  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442674;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1878  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442674;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:51:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1880  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442681;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1880  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000263  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442681;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:51:22
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442682;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:51:07.872364' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000891  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442682;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:51:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1882  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442684;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1882  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442684;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:51:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1884  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442691;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1884  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442691;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:51:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1886  Schema:   QC_hit: No
# Query_time: 0.000789  Lock_time: 0.000390  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442694;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1886  Schema:   QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442694;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:51:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.004039  Lock_time: 0.002185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625442700;
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-07-04 23:51:39.992'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:51:39.992')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:51:39.992')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:51:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1888  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442701;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1888  Schema:   QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000074  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442701;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:51:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1890  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442704;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1890  Schema:   QC_hit: No
# Query_time: 0.000109  Lock_time: 0.000069  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442704;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:51:52
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1892  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442712;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1892  Schema:   QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442712;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:51:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1894  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442714;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1894  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442714;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:51:56
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000971  Lock_time: 0.000306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625442716;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:52:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1896  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442721;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1896  Schema:   QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000073  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442721;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:52:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1898  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442724;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1898  Schema:   QC_hit: No
# Query_time: 0.000120  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442724;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:52:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1900  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442731;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1900  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=1625442731;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:52:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1902  Schema:   QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442734;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1902  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442734;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:52:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1904  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442741;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1904  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442741;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:52:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1906  Schema:   QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1906  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:52:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1908  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442751;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1908  Schema:   QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000069  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442751;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:52:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1910  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442754;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1910  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442754;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:52:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002466  Lock_time: 0.001815  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625442760;
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-07-04 23:52:40.009'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:52:40.009')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:52:40.009')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:52:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1912  Schema:   QC_hit: No
# Query_time: 0.002523  Lock_time: 0.002402  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442761;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1912  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442761;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:52:52
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1916  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442772;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1916  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442772;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
2021-07-04 23:52:58 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection to peer d1258283-a4e3 with addr tcp://10.242.8.206:4567 timed out, no messages seen in PT3S, socket stats: rtt: 1793 rttvar: 2723 rto: 204000 lost: 0 last_data_recv: 3316 cwnd: 10 last_queued_since: 27216 last_delivered_since: 3315851692 send_queue_length: 1 send_queue_bytes: 360 segment: 0 messages: 1
2021-07-04 23:52:58 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: tcp://10.242.8.206:4567 
2021-07-04 23:52:59 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') reconnecting to d1258283-a4e3 (tcp://10.242.8.206:4567), attempt 0
2021-07-04 23:53:00 0 [Note] WSREP: evs::proto(11feeaec-b6ba, GATHER, view_id(REG,11feeaec-b6ba,17)) suspecting node: d1258283-a4e3
2021-07-04 23:53:00 0 [Note] WSREP: evs::proto(11feeaec-b6ba, GATHER, view_id(REG,11feeaec-b6ba,17)) suspected node without join message, declaring inactive
2021-07-04 23:53:01 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:53:01 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:53:01 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,18) memb {
	11feeaec-b6ba,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
	d1258283-a4e3,0
})
2021-07-04 23:53:01 0 [Note] WSREP: save pc into disk
2021-07-04 23:53:01 0 [Note] WSREP: forgetting d1258283-a4e3 (tcp://10.242.8.206:4567)
2021-07-04 23:53:01 0 [Note] WSREP: deleting entry tcp://10.242.8.206:4567
2021-07-04 23:53:01 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
2021-07-04 23:53:01 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 2
2021-07-04 23:53:01 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: f7525ef8-dd22-11eb-92f6-4f6cf0cbcf44
2021-07-04 23:53:01 0 [Note] WSREP: STATE EXCHANGE: sent state msg: f7525ef8-dd22-11eb-92f6-4f6cf0cbcf44
2021-07-04 23:53:01 0 [Note] WSREP: STATE EXCHANGE: got state msg: f7525ef8-dd22-11eb-92f6-4f6cf0cbcf44 from 0 (dev-mariadb-galera-2)
2021-07-04 23:53:01 0 [Note] WSREP: STATE EXCHANGE: got state msg: f7525ef8-dd22-11eb-92f6-4f6cf0cbcf44 from 1 (dev-mariadb-galera-1)
2021-07-04 23:53:01 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 14,
	members    = 2/2 (joined/total),
	act_id     = 3777,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:53:01 0 [Note] WSREP: Flow-control interval: [23, 23]
2021-07-04 23:53:01 7 [Note] WSREP: ####### processing CC 3778, local, ordered
2021-07-04 23:53:01 7 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:53:01 7 [Note] WSREP: Skipping cert index reset
2021-07-04 23:53:01 7 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:53:01 7 [Note] WSREP: ####### Adjusting cert position: 3777 -> 3778
2021-07-04 23:53:01 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:53:01 7 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3778
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(2):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:53:01 7 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:53:01 7 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:53:01 7 [Note] WSREP: Min available from gcache for CC from group: 818
2021-07-04 23:53:01 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:53:01 0 [Warning] WSREP: discarding established (time wait) d1258283-a4e3 (tcp://10.242.8.206:4567) 
# Time: 210704 23:53:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1920  Schema:   QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442781;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1920  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442781;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:53:02
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625442782;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442782;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
2021-07-04 23:53:02 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:53:02 0 [Warning] WSREP: discarding established (time wait) d1258283-a4e3 (tcp://10.242.8.206:4567) 
2021-07-04 23:53:04 0 [Note] WSREP:  cleaning up d1258283-a4e3 (tcp://10.242.8.206:4567)
2021-07-04 23:53:04 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to d1258283-a4e3 tcp://10.242.8.206:4567
2021-07-04 23:53:04 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: 
2021-07-04 23:53:05 0 [Note] WSREP: declaring d1258283-a4e3 at tcp://10.242.8.206:4567 stable
2021-07-04 23:53:05 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:53:05 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:53:05 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,19) memb {
	11feeaec-b6ba,0
	d1258283-a4e3,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
})
2021-07-04 23:53:05 0 [Note] WSREP: save pc into disk
2021-07-04 23:53:05 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 3
2021-07-04 23:53:05 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: f9cc5866-dd22-11eb-9497-be87c1469396
2021-07-04 23:53:05 0 [Note] WSREP: STATE EXCHANGE: sent state msg: f9cc5866-dd22-11eb-9497-be87c1469396
2021-07-04 23:53:05 0 [Note] WSREP: STATE EXCHANGE: got state msg: f9cc5866-dd22-11eb-9497-be87c1469396 from 0 (dev-mariadb-galera-2)
2021-07-04 23:53:05 0 [Note] WSREP: STATE EXCHANGE: got state msg: f9cc5866-dd22-11eb-9497-be87c1469396 from 1 (dev-mariadb-galera-0)
2021-07-04 23:53:05 0 [Note] WSREP: STATE EXCHANGE: got state msg: f9cc5866-dd22-11eb-9497-be87c1469396 from 2 (dev-mariadb-galera-1)
2021-07-04 23:53:05 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 15,
	members    = 2/3 (joined/total),
	act_id     = 3778,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:53:05 0 [Note] WSREP: Flow-control interval: [28, 28]
2021-07-04 23:53:05 7 [Note] WSREP: ####### processing CC 3779, local, ordered
2021-07-04 23:53:05 7 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:53:05 7 [Note] WSREP: Skipping cert index reset
2021-07-04 23:53:05 7 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:53:05 7 [Note] WSREP: ####### Adjusting cert position: 3778 -> 3779
2021-07-04 23:53:05 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:53:05 7 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3779
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(3):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: d1258283-dd18-11eb-a4e3-2fff58d4b81d, dev-mariadb-galera-0
	2: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:53:05 7 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:53:05 7 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:53:05 7 [Note] WSREP: Min available from gcache for CC from group: 818
2021-07-04 23:53:05 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-0) requested state transfer from '*any*'. Selected 2.0 (dev-mariadb-galera-1)(SYNCED) as donor.
2021-07-04 23:53:05 0 [Note] WSREP: 2.0 (dev-mariadb-galera-1): State transfer to 1.0 (dev-mariadb-galera-0) complete.
2021-07-04 23:53:05 0 [Note] WSREP: Member 2.0 (dev-mariadb-galera-1) synced with group.
# Time: 210704 23:53:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1923  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1923  Schema:   QC_hit: No
# Query_time: 0.000120  Lock_time: 0.000079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:53:05 0 [Note] WSREP: 1.0 (dev-mariadb-galera-0): State transfer from 2.0 (dev-mariadb-galera-1) complete.
2021-07-04 23:53:05 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-0) synced with group.
2021-07-04 23:53:07 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
# Time: 210704 23:53:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1925  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=1625442791;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1925  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442791;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:53:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1927  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442794;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1927  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442794;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:53:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1929  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442801;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1929  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442801;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:53:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1931  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442804;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1931  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442804;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:53:27
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442807;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442807;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:26.538298' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1921  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442807;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:53:28
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1921  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001043  Lock_time: 0.000839  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442808;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000961  Lock_time: 0.000725  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442808;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:27.536271' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000996  Lock_time: 0.000724  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442808;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:27.536279' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:53:29
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001642  Lock_time: 0.000484  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442809;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000454  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442809;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1921  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001067  Lock_time: 0.000921  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442809;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:28.536235' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:53:30
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442810;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:29.536082' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:53:31
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000777  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442811;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442811;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1921  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442811;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:30.535674' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001034  Lock_time: 0.000866  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442811;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:30.536281' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1933  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442811;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1933  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442811;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:53:32
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001701  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442812;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1921  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442812;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:53:33
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442813;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:32.536357' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:53:34
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001281  Lock_time: 0.000984  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442814;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442814;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:33.536313' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1935  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442814;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1935  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442814;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:53:35
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000593  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442815;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1921  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000901  Lock_time: 0.000808  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442815;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442815;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:34.535874' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442815;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:34.53643' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:53:36
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001099  Lock_time: 0.000932  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442816;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:35.536493' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001176  Lock_time: 0.000730  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442816;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:35.535677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:53:37
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000785  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442817;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1921  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000463  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442817;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442817;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:36.535919' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:53:38
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1921  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442818;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:37.536487' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000136  Lock_time: 0.000046  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442818;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:37.53858' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:53:39
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442819;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1921  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442819;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:38.536208' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000767  Lock_time: 0.000657  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442819;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:53:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001755  Lock_time: 0.000867  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625442820;
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-07-04 23:53:40.004'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:53:40.004')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:53:40.004')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625442820;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:39.53679' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:53:41
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442821;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.8.228]
# Thread_id: 1921  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442821;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442821;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:40.53569' order by MODIFIED_DATE ASC limit 1;
2021-07-04 23:53:41 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:53:41 0 [Note] WSREP: forgetting d1258283-a4e3 (tcp://10.242.8.206:4567)
2021-07-04 23:53:41 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:53:41 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,20) memb {
	11feeaec-b6ba,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
	d1258283-a4e3,0
})
2021-07-04 23:53:41 0 [Note] WSREP: save pc into disk
2021-07-04 23:53:41 0 [Note] WSREP: forgetting d1258283-a4e3 (tcp://10.242.8.206:4567)
2021-07-04 23:53:41 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 2
2021-07-04 23:53:41 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 0f50877f-dd23-11eb-a99d-97a05105f7ee
2021-07-04 23:53:41 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 0f50877f-dd23-11eb-a99d-97a05105f7ee
2021-07-04 23:53:41 0 [Note] WSREP: STATE EXCHANGE: got state msg: 0f50877f-dd23-11eb-a99d-97a05105f7ee from 0 (dev-mariadb-galera-2)
2021-07-04 23:53:41 0 [Note] WSREP: STATE EXCHANGE: got state msg: 0f50877f-dd23-11eb-a99d-97a05105f7ee from 1 (dev-mariadb-galera-1)
2021-07-04 23:53:41 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 16,
	members    = 2/2 (joined/total),
	act_id     = 3779,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:53:41 0 [Note] WSREP: Flow-control interval: [23, 23]
2021-07-04 23:53:41 7 [Note] WSREP: ####### processing CC 3780, local, ordered
2021-07-04 23:53:41 7 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:53:41 7 [Note] WSREP: Skipping cert index reset
2021-07-04 23:53:41 7 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:53:41 7 [Note] WSREP: ####### Adjusting cert position: 3779 -> 3780
2021-07-04 23:53:41 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:53:41 7 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3780
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(2):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:53:41 7 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:53:41 7 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:53:41 7 [Note] WSREP: Min available from gcache for CC from group: 818
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1937  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442821;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1937  Schema:   QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000431  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442821;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:53:42
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442822;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1921  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442822;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:41.536549' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:53:43
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1921  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442823;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  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=1625442823;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:42.536303' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:53:44
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442824;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442824;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:43.537588' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1939  Schema:   QC_hit: No
# Query_time: 0.001675  Lock_time: 0.001565  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442824;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1939  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442824;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:53:45
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1103  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442825;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1101  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442825;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:44.537113' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.8.228]
# Thread_id: 1921  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000352  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625442825;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:53:44.536862' order by MODIFIED_DATE ASC limit 1;
2021-07-04 23:53:45 1410 [Warning] Aborted connection 1410 to db: 'requestdb' user: 'so_user' host: '10.242.8.220' (Got an error reading communication packets)
2021-07-04 23:53:45 1321 [Warning] Aborted connection 1321 to db: 'requestdb' user: 'so_user' host: '10.242.8.220' (Got an error reading communication packets)
2021-07-04 23:53:45 1103 [Warning] Aborted connection 1103 to db: 'vid_openecomp_epsdk' user: 'vidadmin' host: '10.242.8.228' (Got an error reading communication packets)
2021-07-04 23:53:45 1101 [Warning] Aborted connection 1101 to db: 'vid_openecomp_epsdk' user: 'vidadmin' host: '10.242.8.228' (Got an error reading communication packets)
2021-07-04 23:53:45 1102 [Warning] Aborted connection 1102 to db: 'vid_openecomp_epsdk' user: 'vidadmin' host: '10.242.8.228' (Got an error reading communication packets)
2021-07-04 23:53:45 627 [Warning] Aborted connection 627 to db: 'vid_openecomp_epsdk' user: 'vidadmin' host: '10.242.8.228' (Got an error reading communication packets)
2021-07-04 23:53:45 1921 [Warning] Aborted connection 1921 to db: 'vid_openecomp_epsdk' user: 'vidadmin' host: '10.242.8.228' (Got an error reading communication packets)
2021-07-04 23:53:46 1287 [Warning] Aborted connection 1287 to db: 'catalogdb' user: 'so_user' host: '10.242.8.224' (Got an error reading communication packets)
2021-07-04 23:53:46 1297 [Warning] Aborted connection 1297 to db: 'requestdb' user: 'so_user' host: '10.242.8.224' (Got an error reading communication packets)
2021-07-04 23:53:46 1290 [Warning] Aborted connection 1290 to db: 'catalogdb' user: 'so_user' host: '10.242.8.224' (Got an error reading communication packets)
2021-07-04 23:53:46 1298 [Warning] Aborted connection 1298 to db: 'catalogdb' user: 'so_user' host: '10.242.8.224' (Got an error reading communication packets)
2021-07-04 23:53:46 1299 [Warning] Aborted connection 1299 to db: 'catalogdb' user: 'so_user' host: '10.242.8.225' (Got an error reading communication packets)
2021-07-04 23:53:46 1285 [Warning] Aborted connection 1285 to db: 'catalogdb' user: 'so_user' host: '10.242.8.225' (Got an error reading communication packets)
2021-07-04 23:53:46 1292 [Warning] Aborted connection 1292 to db: 'catalogdb' user: 'so_user' host: '10.242.8.225' (Got an error reading communication packets)
2021-07-04 23:53:46 1308 [Warning] Aborted connection 1308 to db: 'requestdb' user: 'so_user' host: '10.242.8.221' (Got an error reading communication packets)
2021-07-04 23:53:46 1306 [Warning] Aborted connection 1306 to db: 'requestdb' user: 'so_user' host: '10.242.8.221' (Got an error reading communication packets)
2021-07-04 23:53:46 1329 [Warning] Aborted connection 1329 to db: 'requestdb' user: 'so_user' host: '10.242.8.221' (Got an error reading communication packets)
2021-07-04 23:53:46 1324 [Warning] Aborted connection 1324 to db: 'requestdb' user: 'so_user' host: '10.242.8.221' (Got an error reading communication packets)
2021-07-04 23:53:46 1327 [Warning] Aborted connection 1327 to db: 'requestdb' user: 'so_user' host: '10.242.8.221' (Got an error reading communication packets)
2021-07-04 23:53:46 1341 [Warning] Aborted connection 1341 to db: 'requestdb' user: 'so_user' host: '10.242.8.221' (Got an error reading communication packets)
2021-07-04 23:53:46 1305 [Warning] Aborted connection 1305 to db: 'requestdb' user: 'so_user' host: '10.242.8.221' (Got an error reading communication packets)
2021-07-04 23:53:46 1301 [Warning] Aborted connection 1301 to db: 'camundabpmn' user: 'so_user' host: '10.242.8.223' (Got an error reading communication packets)
2021-07-04 23:53:46 1302 [Warning] Aborted connection 1302 to db: 'camundabpmn' user: 'so_user' host: '10.242.8.223' (Got an error reading communication packets)
2021-07-04 23:53:46 1314 [Warning] Aborted connection 1314 to db: 'camundabpmn' user: 'so_user' host: '10.242.8.223' (Got an error reading communication packets)
2021-07-04 23:53:46 0 [Note] WSREP:  cleaning up d1258283-a4e3 (tcp://10.242.8.206:4567)
# Time: 210704 23:53:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1941  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442831;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1941  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442831;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:53:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1943  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442834;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1943  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442834;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:54:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1945  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442841;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1945  Schema:   QC_hit: No
# Query_time: 0.000118  Lock_time: 0.000077  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442841;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:54:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1950  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442844;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1950  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442844;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:54:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1952  Schema:   QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442851;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1952  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442851;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:54:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1954  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442854;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1954  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442854;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:54:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1956  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442861;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1956  Schema:   QC_hit: No
# Query_time: 0.000119  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442861;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:54:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1958  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442864;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1958  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442864;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:54:26 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') connection established to 29d5c96c-a93e tcp://10.242.8.236:4567
2021-07-04 23:54:26 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: 
2021-07-04 23:54:27 0 [Note] WSREP: declaring 29d5c96c-a93e at tcp://10.242.8.236:4567 stable
2021-07-04 23:54:27 0 [Note] WSREP: declaring f639962f-bc8b at tcp://10.242.10.84:4567 stable
2021-07-04 23:54:27 0 [Note] WSREP: Node 11feeaec-b6ba state prim
2021-07-04 23:54:27 0 [Note] WSREP: view(view_id(PRIM,11feeaec-b6ba,21) memb {
	11feeaec-b6ba,0
	29d5c96c-a93e,0
	f639962f-bc8b,0
} joined {
} left {
} partitioned {
})
2021-07-04 23:54:27 0 [Note] WSREP: save pc into disk
2021-07-04 23:54:27 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 3
2021-07-04 23:54:27 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 2abf8a13-dd23-11eb-8331-0a1f471804d9
2021-07-04 23:54:27 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 2abf8a13-dd23-11eb-8331-0a1f471804d9
2021-07-04 23:54:27 0 [Note] WSREP: STATE EXCHANGE: got state msg: 2abf8a13-dd23-11eb-8331-0a1f471804d9 from 0 (dev-mariadb-galera-2)
2021-07-04 23:54:27 0 [Note] WSREP: STATE EXCHANGE: got state msg: 2abf8a13-dd23-11eb-8331-0a1f471804d9 from 2 (dev-mariadb-galera-1)
2021-07-04 23:54:28 0 [Note] WSREP: STATE EXCHANGE: got state msg: 2abf8a13-dd23-11eb-8331-0a1f471804d9 from 1 (dev-mariadb-galera-0)
2021-07-04 23:54:28 0 [Note] WSREP: Quorum results:
	version    = 6,
	component  = PRIMARY,
	conf_id    = 17,
	members    = 2/3 (joined/total),
	act_id     = 3780,
	last_appl. = 3665,
	protocols  = 2/10/4 (gcs/repl/appl),
	vote policy= 0,
	group UUID = cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5
2021-07-04 23:54:28 0 [Note] WSREP: Flow-control interval: [28, 28]
2021-07-04 23:54:28 7 [Note] WSREP: ####### processing CC 3781, local, ordered
2021-07-04 23:54:28 7 [Note] WSREP: ####### My UUID: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2
2021-07-04 23:54:28 7 [Note] WSREP: Skipping cert index reset
2021-07-04 23:54:28 7 [Note] WSREP: REPL Protocols: 10 (5)
2021-07-04 23:54:28 7 [Note] WSREP: ####### Adjusting cert position: 3780 -> 3781
2021-07-04 23:54:28 0 [Note] WSREP: Service thread queue flushed.
2021-07-04 23:54:28 7 [Note] WSREP: ================================================
View:
  id: cc0e4c65-dd18-11eb-a2f9-a776c5a6fae5:3781
  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(3):
	0: 11feeaec-dd19-11eb-b6ba-8a1f036d6fd2, dev-mariadb-galera-2
	1: 29d5c96c-dd23-11eb-a93e-225e68df1fcf, dev-mariadb-galera-0
	2: f639962f-dd18-11eb-bc8b-cf633b3aa302, dev-mariadb-galera-1
=================================================
2021-07-04 23:54:28 7 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-07-04 23:54:28 7 [Note] WSREP: Lowest cert index boundary for CC from group: 3666
2021-07-04 23:54:28 7 [Note] WSREP: Min available from gcache for CC from group: 818
2021-07-04 23:54:29 0 [Note] WSREP: (11feeaec-b6ba, 'tcp://0.0.0.0:4567') turning message relay requesting off
2021-07-04 23:54:30 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-0) requested state transfer from '*any*'. Selected 2.0 (dev-mariadb-galera-1)(SYNCED) as donor.
2021-07-04 23:54:31 0 [Note] WSREP: 2.0 (dev-mariadb-galera-1): State transfer to 1.0 (dev-mariadb-galera-0) complete.
2021-07-04 23:54:31 0 [Note] WSREP: Member 2.0 (dev-mariadb-galera-1) synced with group.
# Time: 210704 23:54:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1960  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442871;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1960  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442871;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-07-04 23:54:32 0 [Note] WSREP: 1.0 (dev-mariadb-galera-0): State transfer from 2.0 (dev-mariadb-galera-1) complete.
2021-07-04 23:54:32 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-0) synced with group.
# Time: 210704 23:54:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1962  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442874;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1962  Schema:   QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442874;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:54:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.004109  Lock_time: 0.003554  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625442880;
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-07-04 23:54:40.026'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:54:40.026')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:54:40.026')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:54:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1964  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442881;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1964  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=1625442881;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:54:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1966  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442884;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1966  Schema:   QC_hit: No
# Query_time: 0.000103  Lock_time: 0.000065  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442884;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:54:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1968  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442891;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1968  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442891;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:54:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1970  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442894;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1970  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442894;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:55:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1972  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=1625442901;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1972  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442901;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:55:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1974  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442904;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1974  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442904;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:55:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1976  Schema:   QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000305  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442911;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1976  Schema:   QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000479  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442911;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:55:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1978  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442914;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1978  Schema:   QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442914;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:55:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1980  Schema:   QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000321  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442921;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1980  Schema:   QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442921;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:55:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1982  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442924;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1982  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442924;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:55:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1984  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442931;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1984  Schema:   QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442931;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:55:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1986  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442934;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1986  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442934;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:55:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1227  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003857  Lock_time: 0.002466  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625442940;
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-07-04 23:55:40.031'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:55:40.031')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:55:40.031')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:55:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1988  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442941;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1988  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442941;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:55:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1990  Schema:   QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442944;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1990  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442944;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:55:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1992  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442951;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1992  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442951;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:55:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1998  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442954;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1998  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442954;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:56:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2003  Schema:   QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442961;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2003  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442961;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:56:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2005  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442964;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2005  Schema:   QC_hit: No
# Query_time: 0.000122  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442964;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:56:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2008  Schema:   QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442971;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2008  Schema:   QC_hit: No
# Query_time: 0.000719  Lock_time: 0.000570  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442971;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:56:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2010  Schema:   QC_hit: No
# Query_time: 0.000184  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442974;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2010  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442974;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:56:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2022  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442981;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2022  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442981;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:56:22
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003288  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 47
# Rows_affected: 0  Bytes_sent: 92
SET timestamp=1625442982;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 210704 23:56:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2024  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442984;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2024  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442984;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:56:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2027  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442991;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2027  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442991;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:56:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2029  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625442994;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2029  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625442994;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:56:39
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002910  Lock_time: 0.001880  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 560
SET timestamp=1625442999;
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.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000937  Lock_time: 0.000161  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1625442999;
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.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000762  Lock_time: 0.000120  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 555
SET timestamp=1625442999;
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.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000658  Lock_time: 0.000128  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1625442999;
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.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000123  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1625442999;
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.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000112  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1625442999;
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.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000716  Lock_time: 0.000125  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1625442999;
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.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002539  Lock_time: 0.000391  Rows_sent: 26  Rows_examined: 52
# Rows_affected: 0  Bytes_sent: 3734
SET timestamp=1625442999;
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: 210704 23:56:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1241  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000977  Lock_time: 0.000473  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625443000;
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-07-04 23:56:40.006'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:56:40.006')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:56:40.006')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:56:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2031  Schema:   QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443001;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2031  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443001;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:56:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2033  Schema:   QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443004;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2033  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443004;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:56:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2039  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443011;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2039  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443011;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:56:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2047  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443014;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2047  Schema:   QC_hit: No
# Query_time: 0.001113  Lock_time: 0.001058  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443014;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:56:58
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001934  Lock_time: 0.001451  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625443018;
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-07-04 23:56:58.443'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:56:58.443')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:56:58.443')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:57:01
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2050  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443021;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2050  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443021;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:57:03
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001839  Lock_time: 0.001375  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625443023;
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-07-04 23:57:03.44'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:57:03.44')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:57:03.44')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:57:04
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2052  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443024;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2052  Schema:   QC_hit: No
# Query_time: 0.000112  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443024;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:57:06
# User@Host: so_user[so_user] @  [10.242.193.36]
# Thread_id: 2053  Schema: requestdb  QC_hit: No
# Query_time: 0.002144  Lock_time: 0.000341  Rows_sent: 0  Rows_examined: 16
# Rows_affected: 0  Bytes_sent: 92
use requestdb;
SET timestamp=1625443026;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 210704 23:57:11
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2060  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443031;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2060  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443031;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:57:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002663  Lock_time: 0.001841  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443033;
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-07-04 23:57:13.441'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:57:13.441')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:57:13.441')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:57:14
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2062  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443034;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2062  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443034;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:57:21
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2064  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443041;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2064  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443041;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:57:24
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2066  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443044;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2066  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443044;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:57:31
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2068  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443051;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2068  Schema:   QC_hit: No
# Query_time: 0.000104  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443051;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:57:33
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001574  Lock_time: 0.001059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625443053;
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-07-04 23:57:33.442'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:57:33.442')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:57:33.442')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:57:34
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2070  Schema:   QC_hit: No
# Query_time: 0.000513  Lock_time: 0.000405  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443054;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2070  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443054;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:57:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001778  Lock_time: 0.001321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1625443060;
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-07-04 23:57:40.024'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:57:40.024')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:57:40.024')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210704 23:57:41
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2077  Schema:   QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443061;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2077  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443061;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:57:44
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2079  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443064;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2079  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443064;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:57:51
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2081  Schema:   QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443071;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2081  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443071;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:57:54
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2083  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443074;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2083  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443074;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:57:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443077;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:57:56.668227' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443077;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:57:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443078;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:57:57.638403' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443078;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:57:57.646363' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:57:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443079;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:57:58.639171' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443079;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:57:58.638594' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001365  Lock_time: 0.001207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443080;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000974  Lock_time: 0.000798  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443080;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:57:59.63815' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443081;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:00.635276' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2085  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443081;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2085  Schema:   QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443081;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:58:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443082;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:01.635632' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443083;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443083;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:02.636057' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443084;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2087  Schema:   QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443084;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2087  Schema:   QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443084;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:58:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001011  Lock_time: 0.000828  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443085;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:04.636253' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000835  Lock_time: 0.000645  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443085;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:04.635649' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443086;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443086;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:05.635459' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000495  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443087;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:58:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443088;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:07.635621' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443089;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:08.64324' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443090;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443091;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:10.637956' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2089  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443091;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2089  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443091;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:58:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001083  Lock_time: 0.000884  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443092;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:11.637261' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000880  Lock_time: 0.000719  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443092;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:11.636601' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001057  Lock_time: 0.000612  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443093;
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-07-04 23:58:13.444'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:58:13.444')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:58:13.444')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000689  Lock_time: 0.000479  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443093;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443093;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:12.635851' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443094;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:13.636531' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2091  Schema:   QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443094;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2091  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443094;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:58:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443095;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:14.636252' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001485  Lock_time: 0.000797  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443095;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:58:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443096;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:15.635617' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000958  Lock_time: 0.000846  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443096;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:15.63617' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443097;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001296  Lock_time: 0.000908  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443097;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:58:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443098;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443099;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:18.636864' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000359  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443100;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001833  Lock_time: 0.001292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443100;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:58:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001345  Lock_time: 0.001128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443101;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:20.638484' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2093  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443101;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2093  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443101;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:58:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443102;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443102;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:58:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000345  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443103;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002237  Lock_time: 0.002071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443104;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002449  Lock_time: 0.002088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443104;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2095  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443104;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2095  Schema:   QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443104;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:58:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443105;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:24.634697' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443106;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:58:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443107;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:26.638014' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000723  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443108;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:58:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443109;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:28.635706' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001060  Lock_time: 0.000867  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443110;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001248  Lock_time: 0.001095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443111;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000746  Lock_time: 0.000472  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443111;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:30.635584' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2097  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443111;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2097  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443111;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:58:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443112;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000579  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443113;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000958  Lock_time: 0.000798  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443113;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:32.637469' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443114;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:33.635388' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443114;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:33.635646' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2103  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443114;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2103  Schema:   QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443114;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:58:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443115;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443115;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:34.635711' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443116;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443116;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:35.636438' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001388  Lock_time: 0.001212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443117;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001793  Lock_time: 0.001366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443117;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:58:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443118;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:37.638634' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001425  Lock_time: 0.000667  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443119;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:58:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002638  Lock_time: 0.001936  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443120;
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-07-04 23:58:40.022'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:58:40.022')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:58:40.022')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443120;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:39.635748' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443120;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:39.635695' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443121;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2105  Schema:   QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443121;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2105  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443121;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:58:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443122;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:41.635144' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443122;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:41.635428' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:43
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443123;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443123;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:42.635133' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000627  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443124;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2107  Schema:   QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443124;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2107  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443124;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:58:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443125;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:44.635101' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001056  Lock_time: 0.000689  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443125;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:58:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443126;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:45.639557' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000682  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443127;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443127;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:46.637746' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443128;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001173  Lock_time: 0.000976  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443128;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:47.635667' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443129;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443129;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:48.635915' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443130;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:49.637908' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443130;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:49.63821' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443131;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443131;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:50.63509' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2109  Schema:   QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443131;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2109  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000290  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443131;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:58:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443132;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:51.638056' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443133;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:52.639146' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443134;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:53.634999' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443134;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2111  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=1625443134;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2111  Schema:   QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443134;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:58:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443135;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:54.636452' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443136;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:58:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001274  Lock_time: 0.001011  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443137;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001399  Lock_time: 0.000904  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443137;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:58:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443138;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:57.637874' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:58:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443139;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443139;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:59:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443140;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:58:59.636522' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001028  Lock_time: 0.000590  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443141;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2113  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443141;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2113  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443141;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:59:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443142;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:01.637619' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443142;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:01.637996' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443143;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000827  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443143;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:59:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443144;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:03.637577' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2115  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443144;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2115  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443144;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:59:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443145;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443146;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443146;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:05.636454' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443147;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  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=1625443147;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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
SET timestamp=1625443147;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:06.63785' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443148;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443148;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:59:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443149;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:08.638348' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443150;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:09.635144' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001026  Lock_time: 0.000869  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443150;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:09.635428' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443151;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001223  Lock_time: 0.001049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443151;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:10.637883' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2117  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443151;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2117  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443151;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:59:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443152;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:11.634983' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001984  Lock_time: 0.001421  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443153;
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-07-04 23:59:13.442'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:59:13.442')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:59:13.442')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443153;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:12.637688' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443154;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2119  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=1625443154;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2119  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443154;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:59:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000705  Lock_time: 0.000490  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443155;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:14.635164' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443156;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:15.635904' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443157;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:16.634868' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001174  Lock_time: 0.001056  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443157;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:16.63554' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443158;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  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=1625443158;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443159;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:18.635853' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001356  Lock_time: 0.001078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443159;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443160;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:19.636841' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001999  Lock_time: 0.001133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443160;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:59:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001923  Lock_time: 0.001759  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443161;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:20.63626' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003278  Lock_time: 0.002898  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443161;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2121  Schema:   QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000309  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443161;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2121  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443161;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:59:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000961  Lock_time: 0.000556  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443162;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:21.635071' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443163;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:59:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000634  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443164;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443164;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:23.63639' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2123  Schema:   QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443164;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2123  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443164;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:59:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001144  Lock_time: 0.000922  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443165;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443165;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:24.636371' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000364  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443166;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001214  Lock_time: 0.000745  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443166;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:59:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001022  Lock_time: 0.000792  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443167;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443167;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:26.63603' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001024  Lock_time: 0.000810  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443168;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:27.635707' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000991  Lock_time: 0.000791  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443168;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:27.635553' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001077  Lock_time: 0.000955  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443169;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443169;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:28.637731' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443170;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:29.635589' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443170;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:29.635589' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443171;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443171;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:30.635723' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2125  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443171;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2125  Schema:   QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000322  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443171;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:59:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443172;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:31.636046' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443173;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:32.6379' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443174;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000929  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443174;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2127  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443174;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2127  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443174;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:59:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443175;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443176;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:35.635278' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443177;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443177;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:59:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443178;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:37.636046' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443178;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:37.636046' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001433  Lock_time: 0.000978  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443179;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443179;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001369  Lock_time: 0.000620  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443180;
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-07-04 23:59:40.021'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-04 23:59:40.021')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-04 23:59:40.021')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443180;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:39.635338' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443181;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443181;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2129  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443181;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2129  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443181;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:59:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443182;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:41.637841' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:43
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000046  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443183;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:42.638154' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443183;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:42.638497' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443184;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:43.634864' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443184;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:43.635164' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2131  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443184;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2131  Schema:   QC_hit: No
# Query_time: 0.000119  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443184;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:59:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443185;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:44.635908' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000668  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443186;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:59:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443187;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443187;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:46.637427' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443188;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:47.637618' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443189;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001159  Lock_time: 0.000593  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443189;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:59:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443190;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443190;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:49.63819' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443191;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:50.635229' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001023  Lock_time: 0.000885  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443191;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:50.635616' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2133  Schema:   QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000365  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443191;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2133  Schema:   QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000073  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443191;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210704 23:59:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443192;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210704 23:59:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443193;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:52.635209' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443194;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:53.638217' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2135  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443194;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2135  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443194;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210704 23:59:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001083  Lock_time: 0.000815  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443195;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443195;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:54.637892' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443196;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:55.634657' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443197;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443197;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:56.63563' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001044  Lock_time: 0.000883  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443198;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443198;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:57.635878' order by MODIFIED_DATE ASC limit 1;
# Time: 210704 23:59:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000975  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443199;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443199;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-04 23:59:58.635971' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000662  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443200;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:00:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443201;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:00.6352' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2137  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443201;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2137  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443201;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:00:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443202;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443202;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:01.637367' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000603  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443203;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:00:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443204;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001006  Lock_time: 0.000810  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443204;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:03.635012' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2139  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443204;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2139  Schema:   QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443204;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:00:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443205;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:00:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000419  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443206;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:05.636129' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000984  Lock_time: 0.000789  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443207;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001619  Lock_time: 0.001044  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443207;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:00:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001191  Lock_time: 0.000985  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443208;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:07.635018' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443208;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:07.636247' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443209;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443209;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:08.637301' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443210;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:09.637514' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443211;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443211;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:10.638137' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2141  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443211;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2141  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443211;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:00:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443212;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443212;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:11.63528' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002860  Lock_time: 0.002412  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443213;
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-07-05 00:00:13.449'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:00:13.449')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443213;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443214;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:13.63854' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443214;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:13.637631' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2143  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443214;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2143  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443214;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:00:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000834  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443215;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:00:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443216;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443216;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:15.635387' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443217;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443217;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:16.638454' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443218;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001123  Lock_time: 0.000988  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443218;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:17.635646' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443219;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000827  Lock_time: 0.000636  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443219;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:18.636829' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443220;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:00:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443221;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:20.637886' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443221;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:20.638504' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2145  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443221;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2145  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443221;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:00:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443222;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000798  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443222;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443223;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443223;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:00:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443224;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:23.636328' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001147  Lock_time: 0.000946  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443224;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:23.637373' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2147  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443224;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2147  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=1625443224;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:00:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443225;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443225;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:24.635395' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443226;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:25.635459' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443226;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:25.635097' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443227;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:26.635337' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443228;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:27.635263' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443228;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:27.635736' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443229;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443230;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443230;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:29.635002' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443231;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:30.635684' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2149  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443231;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2149  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443231;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:00:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000909  Lock_time: 0.000428  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443232;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:00:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443233;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443233;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:32.635344' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443234;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443234;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:33.636127' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2151  Schema:   QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443234;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2151  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443234;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:00:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001362  Lock_time: 0.000952  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443235;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443235;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:34.637606' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443236;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:35.637727' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443237;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:36.6347' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443237;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:36.634551' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443238;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:37.635647' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443239;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:38.635731' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443239;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:38.635512' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001562  Lock_time: 0.000754  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443240;
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-07-05 00:00:40.021'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:00:40.021')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001654  Lock_time: 0.000968  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443240;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000840  Lock_time: 0.000602  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443240;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:39.635528' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443241;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:40.635004' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2153  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443241;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2153  Schema:   QC_hit: No
# Query_time: 0.000796  Lock_time: 0.000670  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443241;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:00:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443242;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:43
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443243;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:42.636156' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443244;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443244;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:43.637981' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2155  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443244;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2155  Schema:   QC_hit: No
# Query_time: 0.000132  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443244;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:00:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443245;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443246;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:45.635474' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000823  Lock_time: 0.000684  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443247;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001158  Lock_time: 0.000889  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443247;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:00:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000060  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443248;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:47.635979' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001611  Lock_time: 0.001404  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443249;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443250;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:49.634519' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443250;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:49.635635' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443251;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443251;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2157  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443251;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2157  Schema:   QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443251;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:00:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443252;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:51.63514' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443252;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:51.634722' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443253;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443253;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:52.63462' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443254;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443254;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:53.637841' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2159  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443254;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2159  Schema:   QC_hit: No
# Query_time: 0.000106  Lock_time: 0.000069  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443254;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:00:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443255;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:00:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000991  Lock_time: 0.000870  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443256;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:55.635886' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443257;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443257;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:56.634608' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443258;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:57.638069' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:00:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443259;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000906  Lock_time: 0.000678  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443259;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443260;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:00:59.63565' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001386  Lock_time: 0.000941  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443261;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443261;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2161  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=1625443261;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2161  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443261;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:01:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443262;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:01.63567' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443263;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443263;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:01:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443264;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443264;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:03.636006' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2163  Schema:   QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000424  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443264;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2163  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=1625443264;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:01:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001699  Lock_time: 0.000752  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443265;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:01:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443266;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:05.635071' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443267;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:06.635095' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443268;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:07.634931' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443269;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:08.635321' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443270;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443271;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:10.634658' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2165  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443271;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2165  Schema:   QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443271;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:01:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443272;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:11.63526' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001536  Lock_time: 0.001116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443273;
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-07-05 00:01:13.443'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:01:13.443')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443273;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:12.634762' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443274;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:13.635296' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2167  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443274;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2167  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443274;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:01:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002090  Lock_time: 0.001453  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443275;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:01:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002137  Lock_time: 0.001275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443276;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:01:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443277;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:16.637553' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443277;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:16.638296' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000651  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443278;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001107  Lock_time: 0.000913  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443278;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443280;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443280;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:19.63624' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443281;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:20.635892' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2169  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443281;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2169  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443281;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:01:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443282;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:01:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001315  Lock_time: 0.000943  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443283;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:01:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443284;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:23.63478' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2171  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443284;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2171  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443284;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:01:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443285;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:24.634548' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001342  Lock_time: 0.001181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443285;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:24.635577' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443286;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001214  Lock_time: 0.001080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443286;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:25.635074' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443287;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:26.635228' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000785  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443288;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000335  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443288;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:27.634729' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443289;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443289;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:28.638471' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000616  Lock_time: 0.000380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443290;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:29.636258' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001027  Lock_time: 0.000848  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443290;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001056  Lock_time: 0.000863  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443291;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:30.637414' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2173  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=1625443291;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2173  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443291;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:01:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001207  Lock_time: 0.000662  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443292;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443292;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:31.635447' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443293;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:32.635628' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443294;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:33.634882' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001785  Lock_time: 0.001012  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443294;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2175  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443294;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2175  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443294;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:01:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443295;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000851  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443295;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:01:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443296;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:35.635412' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443297;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000305  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443297;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:36.637576' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002403  Lock_time: 0.002213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443298;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:37.635216' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002338  Lock_time: 0.002053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443298;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:37.635614' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443299;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:38.634877' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001408  Lock_time: 0.000999  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443299;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:01:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000779  Lock_time: 0.000353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443300;
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-07-05 00:01:40.024'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:01:40.024')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001065  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443300;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443300;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:39.637891' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000046  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443301;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:40.637443' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2177  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443301;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2177  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443301;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:01:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443302;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:41.634875' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001006  Lock_time: 0.000836  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443302;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:41.635283' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:43
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443303;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000560  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443303;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:42.638709' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443304;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:43.63764' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443304;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:43.63807' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2179  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443304;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2179  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443304;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:01:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000745  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443305;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:01:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443306;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443306;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:45.634947' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443307;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:46.634531' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001264  Lock_time: 0.000818  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443307;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:01:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443308;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:47.637556' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001013  Lock_time: 0.000868  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443309;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000332  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443309;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:48.637542' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443310;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000919  Lock_time: 0.000766  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443310;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:49.637615' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443311;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000840  Lock_time: 0.000673  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443311;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:50.637546' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2181  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443311;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2181  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=1625443311;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:01:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443312;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443312;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:51.634897' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443313;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:52.637443' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443313;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:01:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000399  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443314;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443314;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:53.638248' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2183  Schema:   QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000081  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443314;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2183  Schema:   QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443314;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:01:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443315;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:54.635776' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000795  Lock_time: 0.000524  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443316;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:01:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443317;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:56.638043' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443317;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:56.637481' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:01:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000401  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443318;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000933  Lock_time: 0.000479  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443318;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:01:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443319;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:58.635093' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443320;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443320;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:01:59.637667' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001397  Lock_time: 0.001156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443321;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:00.635034' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2185  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443321;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2185  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443321;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:02:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000604  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443322;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:02:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443323;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:02.637661' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443324;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000730  Lock_time: 0.000635  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443324;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2187  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443324;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2187  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=1625443324;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:02:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443325;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:04.634787' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443326;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:05.638033' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000902  Lock_time: 0.000729  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443327;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443327;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:06.637294' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000339  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443328;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:07.637691' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001532  Lock_time: 0.001051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443329;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443329;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:08.634641' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443330;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000781  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443330;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:02:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443331;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:10.637558' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2189  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443331;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2189  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443331;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:02:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000337  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443332;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443332;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:11.637908' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001035  Lock_time: 0.000361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443333;
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-07-05 00:02:13.445'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:02:13.445')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:02:13.445')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443333;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:12.634981' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443333;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:02:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443334;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443334;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:13.63516' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2191  Schema:   QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000344  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443334;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2191  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443334;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:02:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443335;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:14.63823' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000687  Lock_time: 0.000492  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443336;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:15.635783' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443337;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:16.637804' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443338;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443338;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:17.635107' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001263  Lock_time: 0.001052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443339;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443339;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:18.634933' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001404  Lock_time: 0.001054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443340;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:02:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443341;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:20.635152' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2193  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443341;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2193  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443341;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:02:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443342;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:21.634772' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443343;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443344;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2195  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443344;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2195  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443344;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:02:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443345;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:24.634743' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443346;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:25.635073' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443346;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:25.635117' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443347;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:26.635147' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443347;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:26.635115' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001168  Lock_time: 0.000564  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443348;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443348;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001462  Lock_time: 0.001219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443349;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:28.635063' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000842  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443350;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001772  Lock_time: 0.001585  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443350;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:29.635974' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443351;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443351;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2197  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443351;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2197  Schema:   QC_hit: No
# Query_time: 0.001075  Lock_time: 0.000981  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443351;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:02:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443352;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:31.635717' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443353;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:32.635574' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443353;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:32.63478' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443354;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2199  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443354;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2199  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443354;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:02:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001250  Lock_time: 0.001065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443355;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443356;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:35.635805' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443357;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443357;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:36.635956' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443358;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:37.637251' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443358;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:37.636231' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443359;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001310  Lock_time: 0.000346  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443359;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:02:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002294  Lock_time: 0.001754  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443360;
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-07-05 00:02:40.022'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:02:40.022')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:02:40.022')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443360;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:39.636758' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443361;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:40.635392' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2201  Schema:   QC_hit: No
# Query_time: 0.002595  Lock_time: 0.002527  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443361;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2201  Schema:   QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443361;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:02:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001924  Lock_time: 0.001421  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443362;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443362;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:41.637597' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:43
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001176  Lock_time: 0.000919  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443363;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:42.635455' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000362  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443364;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443364;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:43.635013' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2203  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443364;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2203  Schema:   QC_hit: No
# Query_time: 0.000184  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443364;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:02:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443365;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443365;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:44.635568' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000708  Lock_time: 0.000570  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443366;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:45.635301' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002085  Lock_time: 0.001393  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443367;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:02:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443368;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:47.637535' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000710  Lock_time: 0.000461  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443369;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001726  Lock_time: 0.001092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443369;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:02:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001256  Lock_time: 0.001073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443370;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:49.635645' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001304  Lock_time: 0.001090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443370;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:49.635598' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443371;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443371;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2205  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=1625443371;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2205  Schema:   QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443371;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:02:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443372;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:51.635245' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443373;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443373;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:52.638122' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002827  Lock_time: 0.002285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443374;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443374;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:53.635778' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2207  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443374;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2207  Schema:   QC_hit: No
# Query_time: 0.000124  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443374;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:02:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001602  Lock_time: 0.001347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443375;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001164  Lock_time: 0.000937  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443376;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:55.635293' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001310  Lock_time: 0.000949  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443376;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:55.634651' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443377;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000823  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443377;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:02:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443378;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:57.635325' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:02:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001180  Lock_time: 0.000994  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443379;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001676  Lock_time: 0.001025  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443379;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:03:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443380;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:02:59.637753' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443381;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:00.63738' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443381;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:00.637088' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2209  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443381;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2209  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443381;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:03:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443382;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443382;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:01.637244' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443383;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443383;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:02.638217' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443384;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443384;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:03.635273' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2215  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443384;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2215  Schema:   QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000077  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443384;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:03:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443385;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:04.637113' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443386;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:05.638026' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443387;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443388;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443389;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443390;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:03:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001422  Lock_time: 0.000885  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443391;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2217  Schema:   QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443391;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2217  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443391;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:03:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443392;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:11.635525' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000870  Lock_time: 0.000433  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443393;
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-07-05 00:03:13.444'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:03:13.444')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:03:13.444')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002255  Lock_time: 0.002122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443393;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002457  Lock_time: 0.002143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443393;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:03:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443394;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:13.635039' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2219  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443394;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2219  Schema:   QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000071  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443394;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:03:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443395;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:14.63547' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000355  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443396;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:15.634723' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001264  Lock_time: 0.000923  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443396;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:03:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001269  Lock_time: 0.001035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443397;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:16.634838' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001376  Lock_time: 0.001086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443397;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:16.634695' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443398;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:17.634651' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443398;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:17.63482' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443399;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:18.635443' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001014  Lock_time: 0.000834  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443400;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:19.635055' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001229  Lock_time: 0.000830  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443400;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:03:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000680  Lock_time: 0.000438  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443401;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:20.635391' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2221  Schema:   QC_hit: No
# Query_time: 0.000128  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443401;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2221  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443401;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:03:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443402;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:21.63752' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000060  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443402;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:21.637793' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443403;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:22.635132' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000828  Lock_time: 0.000694  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443403;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:22.634752' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443404;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2223  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443404;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2223  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443404;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:03:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443405;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:24.63505' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443406;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:25.637337' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443407;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001060  Lock_time: 0.000932  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443407;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:26.635563' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000874  Lock_time: 0.000674  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443408;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001531  Lock_time: 0.000808  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443409;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:03:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443410;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:29.635498' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000909  Lock_time: 0.000695  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443411;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:30.634689' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001282  Lock_time: 0.000744  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443411;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2225  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443411;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2225  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000077  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443411;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:03:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001258  Lock_time: 0.000992  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443412;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:31.635868' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000801  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443413;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443413;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:32.640744' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443414;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:33.635967' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443414;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2227  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443414;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2227  Schema:   QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443414;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:03:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443415;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443415;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:34.634903' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443416;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:35.634946' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000673  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443417;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443417;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:36.635536' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001896  Lock_time: 0.001325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443418;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:03:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000456  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443419;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443419;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:38.637444' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001050  Lock_time: 0.000445  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443420;
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-07-05 00:03:40.024'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:03:40.024')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:03:40.024')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002322  Lock_time: 0.002154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443420;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:39.634802' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003501  Lock_time: 0.002941  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443420;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:03:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443421;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:40.635799' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2229  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=1625443421;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2229  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443421;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:03:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443422;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:41.634741' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001248  Lock_time: 0.000855  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443422;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:03:43
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443423;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:42.634911' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001056  Lock_time: 0.000886  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443423;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000717  Lock_time: 0.000494  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443424;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:43.634882' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2231  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443424;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2231  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=1625443424;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:03:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443425;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443425;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:44.637529' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443426;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:45.634667' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443427;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:46.63484' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000662  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443428;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000571  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443428;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:47.635667' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002049  Lock_time: 0.001400  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443429;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443429;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443430;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:49.639057' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443431;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443431;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:50.635069' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2233  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443431;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2233  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=1625443431;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:03:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443432;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443432;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:51.634805' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443433;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:52.636235' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443433;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:52.636282' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443434;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:53.637627' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2235  Schema:   QC_hit: No
# Query_time: 0.000503  Lock_time: 0.000264  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443434;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2235  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443434;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:03:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000974  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443435;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443435;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:54.634593' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000876  Lock_time: 0.000267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443436;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443436;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443437;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:56.635209' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001069  Lock_time: 0.000874  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443438;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:57.635272' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001095  Lock_time: 0.000836  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443438;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:57.635079' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:03:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000691  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443439;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000994  Lock_time: 0.000812  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443439;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:58.636105' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443440;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:03:59.635438' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001189  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443441;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000736  Lock_time: 0.000596  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443441;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:00.634728' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2237  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443441;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2237  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443441;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:04:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443442;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:01.635206' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443443;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001222  Lock_time: 0.001015  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443444;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:03.635396' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443444;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:03.635862' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2239  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443444;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2239  Schema:   QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443444;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:04:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443445;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:04.635285' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000373  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443445;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:04.635431' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443446;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443446;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:05.637333' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443447;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000468  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443448;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:07.637531' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443449;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443449;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:08.635551' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443450;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000056  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443451;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:10.635394' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2241  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443451;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2241  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443451;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:04:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443452;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:11.634681' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001605  Lock_time: 0.001021  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443452;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:04:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000717  Lock_time: 0.000310  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443453;
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-07-05 00:04:13.445'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:04:13.445')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:04:13.445')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001470  Lock_time: 0.001073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443453;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:04:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001182  Lock_time: 0.000976  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443454;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000660  Lock_time: 0.000398  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443454;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:13.63515' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2243  Schema:   QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443454;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2243  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=1625443454;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:04:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001030  Lock_time: 0.000553  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443455;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:04:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443456;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:15.637884' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443457;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443457;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:16.635144' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443458;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:17.637432' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443459;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443459;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:04:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443460;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:19.635113' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000810  Lock_time: 0.000600  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443461;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2245  Schema:   QC_hit: No
# Query_time: 0.000124  Lock_time: 0.000079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443461;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2245  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443461;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:04:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001627  Lock_time: 0.001362  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443462;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:21.634643' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000684  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443463;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001126  Lock_time: 0.000956  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443463;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:22.635165' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443464;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:23.63733' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2247  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443464;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2247  Schema:   QC_hit: No
# Query_time: 0.000119  Lock_time: 0.000080  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443464;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:04:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443465;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001225  Lock_time: 0.000994  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443465;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:24.635146' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443466;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:04:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443467;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:26.635279' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443468;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:27.637665' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000578  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443469;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:04:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443470;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443470;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:29.635521' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443471;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:30.637793' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2249  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443471;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2249  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443471;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:04:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443472;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:04:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443473;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:32.635028' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443474;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:33.63537' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2251  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443474;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2251  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443474;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:04:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000858  Lock_time: 0.000708  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443475;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001402  Lock_time: 0.001177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443476;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:35.634782' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443477;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001086  Lock_time: 0.000912  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443477;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:36.634755' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000992  Lock_time: 0.000723  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443478;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:37.635247' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000953  Lock_time: 0.000730  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443478;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:37.635339' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443479;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443479;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:38.637786' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001031  Lock_time: 0.000507  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443480;
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-07-05 00:04:40.025'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:04:40.025')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:04:40.025')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443480;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443480;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:39.634583' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443481;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2253  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443481;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2253  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443481;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:04:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443482;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443482;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:41.634824' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:43
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443483;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:42.635224' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443483;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:42.635131' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443484;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:43.637116' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443484;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:43.637313' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2255  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443484;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2255  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443484;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:04:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443485;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443485;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:44.637309' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443486;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:45.637544' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443487;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:46.634888' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443488;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443488;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:47.634915' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443489;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:48.63478' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000762  Lock_time: 0.000590  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443490;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000427  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443491;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:50.634524' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2258  Schema:   QC_hit: No
# Query_time: 0.002011  Lock_time: 0.001941  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443491;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2258  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443491;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:04:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000998  Lock_time: 0.000761  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443492;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:51.634727' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443493;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443493;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:52.635015' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443494;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:53.637488' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2260  Schema:   QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443494;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2260  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443494;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:04:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443495;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443495;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:04:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443496;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:55.635283' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001502  Lock_time: 0.001125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443497;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443497;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:04:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001312  Lock_time: 0.000985  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443498;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:04:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002368  Lock_time: 0.002170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443499;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001816  Lock_time: 0.001571  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443499;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:58.634831' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001184  Lock_time: 0.000925  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443500;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:04:59.635033' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001911  Lock_time: 0.001279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443500;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:05:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443501;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:00.637684' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2262  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443501;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2262  Schema:   QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443501;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:05:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443502;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:05:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443503;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:02.636525' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443504;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2264  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443504;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2264  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=1625443504;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:05:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443505;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001925  Lock_time: 0.001770  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443505;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:04.635812' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443506;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443506;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:05.635319' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443507;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:06.63806' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443507;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:06.638523' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443508;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001297  Lock_time: 0.001149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443508;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:07.637458' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000858  Lock_time: 0.000703  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443508;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:07.638094' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443509;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001166  Lock_time: 0.001011  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443509;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:08.637654' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443510;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443510;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:09.635489' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443511;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2266  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443511;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2266  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443511;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:05:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443512;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:11.634832' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001017  Lock_time: 0.000528  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443513;
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-07-05 00:05:13.445'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:05:13.445')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000724  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443513;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:05:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443514;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443514;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:13.636942' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2268  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443514;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2268  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443514;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:05:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001011  Lock_time: 0.000784  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443515;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:14.634885' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001326  Lock_time: 0.001119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443515;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001230  Lock_time: 0.001025  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443516;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:15.635795' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001166  Lock_time: 0.000982  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443517;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443518;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:17.636025' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000791  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443519;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443519;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:18.634699' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443520;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:19.63561' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443521;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:20.636436' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2270  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=1625443521;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2270  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443521;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:05:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443522;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443522;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:21.658461' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443523;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001284  Lock_time: 0.001110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443523;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:22.637529' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443524;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443524;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:23.634592' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2272  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443524;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2272  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443524;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:05:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000338  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443525;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443525;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:24.635302' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443526;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443526;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:25.635354' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443527;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:26.637555' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443528;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443528;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:27.634469' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443529;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:28.637197' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000451  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443530;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001476  Lock_time: 0.000880  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443530;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:05:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443531;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:30.635144' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2274  Schema:   QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443531;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2274  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443531;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:05:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443532;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:31.635067' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443532;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:31.635055' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443533;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:32.63508' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443534;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443534;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:33.638139' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2276  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443534;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2276  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443534;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:05:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443535;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:34.634552' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443535;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:34.634733' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443536;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:35.634797' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000696  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443537;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443537;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:36.635103' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001564  Lock_time: 0.001319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443538;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443539;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:38.635469' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001212  Lock_time: 0.000475  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443540;
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-07-05 00:05:40.046'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:05:40.046')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443540;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000884  Lock_time: 0.000709  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443540;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:39.635374' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000658  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443541;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443541;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:40.634847' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2278  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443541;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2278  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443541;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:05:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000343  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443542;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:41.635167' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443544;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:43.637644' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2280  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443544;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2280  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443544;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:05:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443545;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000455  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443545;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:44.634905' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443546;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443546;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:05:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443547;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:46.634863' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443548;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:05:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443549;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443549;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:48.637915' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000575  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443550;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:49.63718' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443550;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:49.638142' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443551;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000760  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443551;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2282  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443551;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2282  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443551;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:05:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443552;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443553;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:52.635163' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443553;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:52.634495' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443554;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443554;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2284  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443554;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2284  Schema:   QC_hit: No
# Query_time: 0.000131  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443554;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:05:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443555;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:54.637416' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000859  Lock_time: 0.000709  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443556;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443557;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:56.634766' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443558;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:57.634665' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:05:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443559;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443559;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:58.634868' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000945  Lock_time: 0.000669  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443560;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:05:59.635834' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443561;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443561;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2286  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443561;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2286  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443561;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:06:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443562;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:01.635605' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443563;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000844  Lock_time: 0.000731  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443563;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443564;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:03.635044' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443564;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2288  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443564;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2288  Schema:   QC_hit: No
# Query_time: 0.000122  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443564;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:06:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443565;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:04.635113' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001377  Lock_time: 0.001258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443565;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001018  Lock_time: 0.000793  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443566;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443567;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:06.637442' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000747  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443568;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443568;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:07.638887' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443569;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:06:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443570;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:09.634949' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443571;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443571;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:10.635652' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2290  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443571;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2290  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443571;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:06:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443572;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:11.637493' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000802  Lock_time: 0.000342  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443573;
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-07-05 00:06:13.444'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:06:13.444')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:06:13.444')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443573;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:12.634742' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443574;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2292  Schema:   QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443574;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2292  Schema:   QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443574;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:06:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443575;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001633  Lock_time: 0.000880  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443575;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:14.635286' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000865  Lock_time: 0.000688  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443576;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:15.637055' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443577;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:16.637374' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443578;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443578;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:17.635469' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443579;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443580;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:19.634683' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001173  Lock_time: 0.000655  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443580;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:06:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443581;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:20.634912' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2294  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443581;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2294  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443581;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:06:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001210  Lock_time: 0.000907  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443582;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:21.634945' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001234  Lock_time: 0.000950  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443582;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:21.635271' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001004  Lock_time: 0.000814  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443583;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:22.635761' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000664  Lock_time: 0.000410  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443583;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:22.636001' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443584;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2296  Schema:   QC_hit: No
# Query_time: 0.000737  Lock_time: 0.000607  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443584;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2296  Schema:   QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443584;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:06:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443585;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:24.635335' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001249  Lock_time: 0.001004  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443586;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:25.637413' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443587;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443587;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:26.635282' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443588;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443588;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:27.635657' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443589;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000832  Lock_time: 0.000575  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443590;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:29.635345' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443591;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:30.641979' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2298  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443591;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2298  Schema:   QC_hit: No
# Query_time: 0.000132  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443591;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:06:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443592;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443592;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:31.635111' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443593;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:32.635224' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000703  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443593;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:06:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000777  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443594;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443594;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2300  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443594;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2300  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443594;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:06:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443595;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:34.63523' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443595;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:34.634966' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001128  Lock_time: 0.000973  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443596;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000367  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443597;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:36.635321' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000422  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443598;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001529  Lock_time: 0.001304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443598;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:37.634854' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002199  Lock_time: 0.001958  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443599;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:38.634918' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001062  Lock_time: 0.000522  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443600;
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-07-05 00:06:40.027'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:06:40.027')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:06:40.027')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443600;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000891  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443601;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2302  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443601;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2302  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443601;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:06:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443602;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000512  Lock_time: 0.000368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443602;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:41.635658' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:43
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443603;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:06:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443604;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:43.634459' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001315  Lock_time: 0.000943  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443604;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2304  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443604;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2304  Schema:   QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443604;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:06:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443605;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:44.635473' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443605;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:44.635885' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443606;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  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=1625443606;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443607;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:46.637646' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000519  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443607;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:46.637897' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443608;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:47.635022' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443609;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:48.634856' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443610;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443610;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:49.637198' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443611;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:50.637513' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000724  Lock_time: 0.000564  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443611;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:50.637815' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2306  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=1625443611;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2306  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443611;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:06:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000047  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443612;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:51.634786' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000739  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443612;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:06:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443613;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:52.635037' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443613;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:52.635402' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000859  Lock_time: 0.000668  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443614;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443614;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:53.634652' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2308  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443614;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2308  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443614;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:06:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000356  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443615;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:54.635237' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443616;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:55.637855' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443617;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443617;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:56.634883' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443618;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:57.634982' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443618;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:57.635235' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:06:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443619;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443619;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:58.637101' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000889  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443620;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443620;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:06:59.63749' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443621;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:00.635035' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2310  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443621;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2310  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=1625443621;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:07:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443622;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:01.635185' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443623;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:02.634728' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443623;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:02.635106' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000339  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443624;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443624;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:03.634904' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2312  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443624;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2312  Schema:   QC_hit: No
# Query_time: 0.000184  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443624;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:07:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001574  Lock_time: 0.001154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443625;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:07:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443626;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:05.635538' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443627;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000530  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443627;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:06.637334' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443628;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443628;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:07.635021' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000745  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443629;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443629;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:08.634837' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443630;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:09.634895' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002345  Lock_time: 0.001463  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443630;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:07:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443631;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443631;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:10.63617' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2314  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443631;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2314  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443631;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:07:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001120  Lock_time: 0.000929  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443632;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:11.635292' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000760  Lock_time: 0.000335  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443633;
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-07-05 00:07:13.446'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:07:13.446')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443633;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:12.637328' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443634;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:13.634594' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443634;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:13.634964' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2316  Schema:   QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000460  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443634;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2316  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443634;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:07:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443635;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443636;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:15.635279' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000341  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443637;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:16.634614' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001364  Lock_time: 0.000938  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443637;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:07:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443638;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:17.634906' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443639;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:18.635149' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001514  Lock_time: 0.000959  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443639;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:07:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443640;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001267  Lock_time: 0.001052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443640;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:19.635337' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001230  Lock_time: 0.001058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443641;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:20.637672' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001036  Lock_time: 0.000842  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443641;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2318  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443641;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2318  Schema:   QC_hit: No
# Query_time: 0.000876  Lock_time: 0.000268  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443641;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:07:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443642;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:21.634683' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000906  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443642;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:07:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443643;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:22.63523' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443643;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:22.634851' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000931  Lock_time: 0.000789  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443644;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001434  Lock_time: 0.000788  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443644;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2320  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443644;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2320  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443644;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:07:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000877  Lock_time: 0.000737  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443645;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:24.63503' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001167  Lock_time: 0.000992  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443645;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000782  Lock_time: 0.000601  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443646;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:25.635037' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443647;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001276  Lock_time: 0.001153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443647;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:26.635763' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443648;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:07:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443649;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:28.635213' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000725  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443650;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443650;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443651;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:30.637546' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2322  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443651;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2322  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443651;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:07:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001139  Lock_time: 0.000895  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443652;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:31.634618' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001159  Lock_time: 0.000906  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443652;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:31.634425' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001228  Lock_time: 0.000626  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443653;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:07:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443654;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:33.635039' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443654;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:33.635369' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2329  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443654;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2329  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443654;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:07:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443655;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443656;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:35.634642' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443657;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:36.634598' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000558  Lock_time: 0.000403  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443657;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:36.634627' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443658;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443658;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:37.63481' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443659;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:38.63485' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001122  Lock_time: 0.000571  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443660;
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-07-05 00:07:40.044'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:07:40.044')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

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

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443660;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:39.636571' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443661;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001000  Lock_time: 0.000817  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443661;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:40.635068' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2331  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443661;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2331  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443661;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:07:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443662;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:41.635203' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:43
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443663;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443663;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:42.637456' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443664;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:43.634599' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2333  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443664;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2333  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443664;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:07:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000678  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443665;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000043  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443665;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:44.635785' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443666;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443666;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:45.637548' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000558  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443667;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:46.635208' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443668;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:47.635108' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001235  Lock_time: 0.001055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443668;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:47.635103' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443669;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000826  Lock_time: 0.000404  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443669;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:07:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443670;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:49.635739' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001012  Lock_time: 0.000824  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443671;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:50.635308' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000973  Lock_time: 0.000812  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443671;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:50.635422' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2335  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443671;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2335  Schema:   QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443671;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:07:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443672;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443672;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:51.637441' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000809  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443673;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443673;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:52.6471' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443674;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2337  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=1625443674;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2337  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443674;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:07:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443675;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:54.635245' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443676;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:55.637466' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443677;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:56.637634' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443678;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:57.634647' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:07:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443679;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:07:58.635211' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001196  Lock_time: 0.000807  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443680;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000717  Lock_time: 0.000368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443680;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443681;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:00.635801' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2339  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443681;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2339  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443681;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:08:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001690  Lock_time: 0.001249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443682;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:08:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000422  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443683;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:02.635286' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002498  Lock_time: 0.002177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443684;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:03.634853' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2341  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443684;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2341  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443684;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:08:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001140  Lock_time: 0.000762  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443685;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:08:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443686;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:05.635127' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443687;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000809  Lock_time: 0.000712  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443687;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:06.635428' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000495  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443688;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001138  Lock_time: 0.000966  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443688;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:07.635139' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443689;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000660  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443690;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443690;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:09.636995' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001030  Lock_time: 0.000820  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443691;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000908  Lock_time: 0.000727  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443691;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:10.635251' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2343  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443691;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2343  Schema:   QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443691;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:08:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000666  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443693;
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-07-05 00:08:13.449'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:08:13.449')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:08:13.449')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443693;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:12.637618' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443693;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:12.63785' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000918  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443694;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2345  Schema:   QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443694;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2345  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443694;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:08:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443695;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443696;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:15.635085' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001279  Lock_time: 0.001083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443697;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001880  Lock_time: 0.001034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443697;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:08:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000403  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443698;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:17.635011' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443699;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001035  Lock_time: 0.000774  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443700;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:19.635458' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001542  Lock_time: 0.001274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443700;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:19.63496' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000890  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443701;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2347  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443701;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2347  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443701;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:08:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443702;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:21.634629' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443703;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443704;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:23.635727' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2349  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443704;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2349  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443704;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:08:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443705;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:24.634635' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000867  Lock_time: 0.000525  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443705;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000884  Lock_time: 0.000714  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443706;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:25.635249' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001152  Lock_time: 0.000957  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443706;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:25.634898' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001547  Lock_time: 0.001400  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443707;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:26.635288' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001556  Lock_time: 0.001402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443707;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:26.635065' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000968  Lock_time: 0.000820  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443708;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:27.634555' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004285  Lock_time: 0.004059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443708;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:27.634924' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001180  Lock_time: 0.000976  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443709;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:28.63541' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443710;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443710;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:29.634978' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443711;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2351  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443711;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2351  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443711;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:08:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443712;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:31.635114' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443713;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:32.637832' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000878  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443714;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000340  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443714;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:33.634629' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2353  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443714;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2353  Schema:   QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443714;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:08:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443715;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443715;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:34.635555' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443716;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:35.634359' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443717;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:36.635092' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443717;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:36.635291' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001720  Lock_time: 0.001307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443718;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000369  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443718;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001312  Lock_time: 0.001121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443719;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:38.63456' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001402  Lock_time: 0.001125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443719;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:38.6349' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001358  Lock_time: 0.000584  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443720;
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-07-05 00:08:40.031'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:08:40.031')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:08:40.031')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443720;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001157  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443720;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:08:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443721;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:40.635308' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2355  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443721;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2355  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443721;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:08:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000660  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443722;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001468  Lock_time: 0.001329  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443722;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:41.634725' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:43
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001838  Lock_time: 0.001694  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443723;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:42.63583' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002548  Lock_time: 0.002225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443723;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:08:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443724;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001080  Lock_time: 0.000980  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443724;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2357  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443724;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2357  Schema:   QC_hit: No
# Query_time: 0.000109  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443724;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:08:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000487  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443725;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:44.637721' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001372  Lock_time: 0.001025  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443725;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:08:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443726;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:45.635336' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443727;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443727;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:46.63491' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001012  Lock_time: 0.000425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443728;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443728;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:47.63464' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443729;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443729;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:48.635277' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443730;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:49.63563' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002165  Lock_time: 0.001492  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443730;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:08:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443731;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001153  Lock_time: 0.001029  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443731;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:50.634974' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2359  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443731;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2359  Schema:   QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443731;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:08:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443732;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:51.635272' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443733;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:52.635246' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443734;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:53.637472' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2361  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443734;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2361  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443734;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:08:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443735;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001037  Lock_time: 0.000921  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443735;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:54.635364' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443736;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:55.637726' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443736;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:55.639092' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443737;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443737;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:56.634457' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443738;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:57.635384' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:08:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001821  Lock_time: 0.001203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443739;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:09:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443740;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:08:59.635975' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443741;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443741;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:00.637549' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2363  Schema:   QC_hit: No
# Query_time: 0.000871  Lock_time: 0.000621  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443741;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2363  Schema:   QC_hit: No
# Query_time: 0.000722  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443741;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:09:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443742;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:01.635145' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000926  Lock_time: 0.000801  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443742;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:01.635346' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443743;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:09:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443744;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:03.635245' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2365  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443744;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2365  Schema:   QC_hit: No
# Query_time: 0.000104  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443744;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:09:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443745;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443745;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:04.634678' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443746;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:05.634488' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443747;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443747;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:06.63441' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001455  Lock_time: 0.001013  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443748;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:09:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000958  Lock_time: 0.000667  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443749;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:08.635028' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001436  Lock_time: 0.001184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443749;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000794  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443750;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001434  Lock_time: 0.001204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443750;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:09.634662' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000483  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443751;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2367  Schema:   QC_hit: No
# Query_time: 0.000676  Lock_time: 0.000579  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443751;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2367  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443751;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:09:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443752;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000357  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443752;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:11.6346' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.005076  Lock_time: 0.004617  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443753;
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-07-05 00:09:13.447'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:09:13.447')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:09:13.447')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443753;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:12.635378' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443754;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443754;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:13.637831' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2369  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443754;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2369  Schema:   QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443754;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:09:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443755;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001200  Lock_time: 0.001093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443755;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:14.635857' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443756;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:09:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443757;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443757;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:16.634833' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443758;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:17.637469' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443759;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:18.634881' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000533  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443759;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:18.634685' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443760;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:19.634944' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443760;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:19.634761' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001368  Lock_time: 0.000942  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443761;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443761;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:20.635001' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2371  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443761;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2371  Schema:   QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443761;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:09:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001042  Lock_time: 0.000884  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443762;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:21.635131' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001057  Lock_time: 0.000860  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443762;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:21.634933' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443762;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443763;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443763;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443763;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:22.63715' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443764;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2373  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=1625443764;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2373  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443764;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:09:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000463  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443765;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:24.634693' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000604  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443766;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:25.635184' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443767;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443767;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:26.637436' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000660  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443768;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443768;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:27.634818' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443769;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000420  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443769;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:28.634902' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443770;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443770;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:29.634587' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443771;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:30.634891' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2375  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443771;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2375  Schema:   QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443771;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:09:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443772;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443772;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:31.634902' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001142  Lock_time: 0.001021  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443773;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000896  Lock_time: 0.000614  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443773;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:32.634875' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000381  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443774;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:33.635164' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2377  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443774;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2377  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443774;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:09:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001178  Lock_time: 0.001053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443775;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:34.634557' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443776;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:09:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443777;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:36.634823' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001502  Lock_time: 0.001333  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443778;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:37.635129' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002241  Lock_time: 0.002056  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443778;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000814  Lock_time: 0.000600  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443779;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:38.634712' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001213  Lock_time: 0.000999  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443779;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001029  Lock_time: 0.000545  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443780;
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-07-05 00:09:40.031'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:09:40.031')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:09:40.031')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443780;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443780;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:09:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000650  Lock_time: 0.000398  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443781;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:40.635317' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2379  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443781;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2379  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443781;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:09:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443782;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:41.638074' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:43
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443783;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443784;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2381  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443784;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2381  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443784;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:09:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443785;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:44.634743' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443786;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:09:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443787;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:46.63544' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443788;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443788;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:47.637573' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443789;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001136  Lock_time: 0.000951  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443789;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:48.634823' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443790;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:49.637493' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443791;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000773  Lock_time: 0.000659  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443791;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:50.634864' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2383  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443791;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2383  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000276  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443791;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:09:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001005  Lock_time: 0.000816  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443792;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443792;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:51.637584' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443793;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:52.634862' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443793;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:52.63476' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443794;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443794;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:53.634962' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2385  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443794;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2385  Schema:   QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000391  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443794;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:09:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443795;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443795;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:54.63519' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000276  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443796;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443796;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:55.635277' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443797;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:56.635892' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001211  Lock_time: 0.000975  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443798;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443798;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:57.634785' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:09:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443799;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:58.634726' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443800;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:09:59.637443' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001874  Lock_time: 0.001693  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443801;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:00.635931' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2387  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443801;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2387  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=1625443801;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:10:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443802;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:01.637894' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443802;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:01.638037' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443803;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443803;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:02.635368' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443804;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2389  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443804;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2389  Schema:   QC_hit: No
# Query_time: 0.000109  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443804;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:10:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001293  Lock_time: 0.001110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443805;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:04.63554' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001392  Lock_time: 0.001211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443805;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:04.635285' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443806;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443806;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:05.637491' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443806;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:05.638416' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443807;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:10:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443808;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:07.635015' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000708  Lock_time: 0.000397  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443809;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:08.634805' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001751  Lock_time: 0.001137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443809;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:10:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443810;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:09.635174' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443811;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:10.634968' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2391  Schema:   QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443811;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2391  Schema:   QC_hit: No
# Query_time: 0.000100  Lock_time: 0.000060  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443811;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:10:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000391  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443812;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001362  Lock_time: 0.000541  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443813;
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-07-05 00:10:13.448'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:10:13.448')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:10:13.448')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443813;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:12.637881' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443813;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:12.637654' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443814;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:13.634796' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2393  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443814;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2393  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443814;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:10:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443815;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:14.637563' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443816;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443816;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443817;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:16.635378' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443818;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443819;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:18.637272' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443819;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:18.637538' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000944  Lock_time: 0.000766  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443820;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443820;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:19.635406' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443821;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:20.634716' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2395  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443821;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2395  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443821;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:10:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443822;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000768  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443822;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:10:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001679  Lock_time: 0.001317  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443823;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:10:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443824;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:23.638077' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443824;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:23.637542' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2397  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443824;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2397  Schema:   QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443824;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:10:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443825;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443825;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443826;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:25.635746' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001734  Lock_time: 0.001513  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443827;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443827;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:26.635119' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443828;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:27.636328' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002679  Lock_time: 0.002107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443829;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:10:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001153  Lock_time: 0.000998  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443830;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002090  Lock_time: 0.000911  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443830;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:10:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443831;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002375  Lock_time: 0.002177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443831;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:30.63498' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2399  Schema:   QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000293  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443831;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2399  Schema:   QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443831;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:10:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443832;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:31.635058' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000888  Lock_time: 0.000495  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443832;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:10:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000385  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443833;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:32.635529' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443834;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:33.638037' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2401  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443834;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2401  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443834;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:10:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443835;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443836;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:35.637548' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443837;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:36.638081' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000905  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443838;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:10:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443839;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:38.637686' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000730  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443840;
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-07-05 00:10:40.031'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:10:40.031')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:10:40.031')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000954  Lock_time: 0.000718  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443840;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:39.637426' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443841;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2403  Schema:   QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443841;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2403  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443841;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:10:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443842;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:41.634547' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:43
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443843;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:42.635996' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443843;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:42.635543' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443844;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:43.635034' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001016  Lock_time: 0.000835  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443844;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2405  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443844;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2405  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443844;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:10:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001269  Lock_time: 0.000887  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443845;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:10:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000869  Lock_time: 0.000750  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443846;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:45.635353' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443847;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:46.63511' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001230  Lock_time: 0.000874  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443847;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:46.635402' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443848;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443849;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:48.634806' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001010  Lock_time: 0.000875  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443850;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001295  Lock_time: 0.000878  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443850;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:10:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443851;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:50.637793' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2407  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443851;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2407  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443851;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:10:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000503  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443852;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443852;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:51.635437' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443853;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:10:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443854;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:53.63607' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443854;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:53.636467' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2409  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443854;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2409  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443854;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:10:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443855;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001154  Lock_time: 0.000959  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443855;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:54.634733' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001407  Lock_time: 0.001199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443856;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:55.635199' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443857;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:56.634893' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443857;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:56.635533' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:10:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443858;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443858;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:10:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443859;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:58.636591' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000460  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443860;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001276  Lock_time: 0.000990  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443860;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:10:59.634547' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000825  Lock_time: 0.000351  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443861;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001081  Lock_time: 0.000871  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443861;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:00.635231' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2411  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443861;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2411  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443861;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:11:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443862;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443863;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:02.635753' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443864;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:03.635934' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2413  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443864;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2413  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443864;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:11:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000394  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443865;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443866;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:05.636111' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443866;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:05.638771' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443867;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001253  Lock_time: 0.001126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443867;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:06.635216' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001563  Lock_time: 0.001174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443868;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443868;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:07.640566' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000976  Lock_time: 0.000850  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443869;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:08.637977' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443870;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000673  Lock_time: 0.000378  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443870;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:11:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443871;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:10.635573' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2415  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443871;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2415  Schema:   QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443871;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:11:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000800  Lock_time: 0.000546  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443872;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:11.634884' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001822  Lock_time: 0.001357  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443872;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:11:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001098  Lock_time: 0.000455  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443873;
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-07-05 00:11:13.461'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:11:13.461')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:11:13.461')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443873;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:12.635642' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001451  Lock_time: 0.000701  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443873;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443874;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2417  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443874;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2417  Schema:   QC_hit: No
# Query_time: 0.000833  Lock_time: 0.000722  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443874;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:11:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443875;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443876;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:15.63754' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000994  Lock_time: 0.000806  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443877;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:16.637558' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001054  Lock_time: 0.000853  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443877;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:16.637333' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443878;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:17.645298' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443879;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:11:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443880;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443881;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:20.635582' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2419  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443881;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2419  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443881;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:11:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000820  Lock_time: 0.000673  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443882;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:21.63462' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001371  Lock_time: 0.001210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443882;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443883;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:22.635459' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443884;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001078  Lock_time: 0.000912  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443884;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:23.635291' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2421  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443884;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2421  Schema:   QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443884;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:11:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443885;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:24.635154' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443886;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:25.637436' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443887;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443887;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:11:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443888;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:27.637439' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000832  Lock_time: 0.000703  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443889;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443889;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:28.637245' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443890;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:29.634655' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443890;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:29.634507' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000736  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443891;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443891;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:30.635226' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2423  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443891;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2423  Schema:   QC_hit: No
# Query_time: 0.001510  Lock_time: 0.001446  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443891;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:11:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000352  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443892;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443893;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:32.637519' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001539  Lock_time: 0.001407  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443894;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000329  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443894;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:33.637394' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2425  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443894;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2425  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443894;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:11:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000507  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443895;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:34.637814' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000775  Lock_time: 0.000649  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443895;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:34.638041' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443896;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443896;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:35.637548' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443897;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:36.634446' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000369  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443897;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:36.634979' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443898;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443898;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:37.634822' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000633  Lock_time: 0.000422  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443899;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:38.634702' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001176  Lock_time: 0.000543  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443899;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:11:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001153  Lock_time: 0.000559  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443900;
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-07-05 00:11:40.034'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:11:40.034')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:11:40.034')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001145  Lock_time: 0.000573  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443900;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001707  Lock_time: 0.001565  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443900;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443901;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:40.637662' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2427  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443901;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2427  Schema:   QC_hit: No
# Query_time: 0.000131  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443901;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:11:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443902;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:41.634578' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:43
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443903;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:42.637849' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443904;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:43.634858' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2429  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443904;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2429  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443904;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:11:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443905;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:44.636512' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443905;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:44.636325' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443906;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443906;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443907;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:46.635088' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001504  Lock_time: 0.001011  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443908;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001465  Lock_time: 0.001324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443908;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001539  Lock_time: 0.001211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443909;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:48.634751' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001867  Lock_time: 0.001222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443909;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:11:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443910;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443910;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443910;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:49.637808' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001451  Lock_time: 0.001327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443911;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:50.634784' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2431  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443911;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2431  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443911;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:11:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000995  Lock_time: 0.000857  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443912;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001525  Lock_time: 0.001297  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443913;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001113  Lock_time: 0.000896  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443914;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:53.637649' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001153  Lock_time: 0.000905  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443914;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:53.637465' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2433  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443914;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2433  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443914;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:11:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443915;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443915;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:11:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443916;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:55.63792' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443917;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443917;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:56.63477' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443918;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:57.637401' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:11:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443919;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000831  Lock_time: 0.000573  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443919;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:58.635042' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443920;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:59.637329' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443920;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:11:59.637873' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443921;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443921;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:00.635229' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2435  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443921;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2435  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443921;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:12:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443922;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:01.634919' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443922;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:01.634626' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443923;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:02.635507' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443924;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2437  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443924;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2437  Schema:   QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443924;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:12:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443925;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443925;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:04.634895' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000346  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443926;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:05.634869' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000937  Lock_time: 0.000790  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443927;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443928;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:07.637394' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443929;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443930;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:09.637217' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443930;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:09.641068' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001086  Lock_time: 0.000863  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443931;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:10.63515' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001080  Lock_time: 0.000855  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443931;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:10.635036' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2439  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443931;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2439  Schema:   QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443931;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:12:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443932;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:11.634773' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443932;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:11.634821' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002117  Lock_time: 0.001632  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443933;
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-07-05 00:12:13.449'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:12:13.449')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:12:13.449')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443933;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443933;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:12.635085' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443934;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2441  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443934;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2441  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443934;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:12:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443935;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:14.635325' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443936;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:15.638076' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443936;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:15.63755' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443937;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:12:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443938;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:17.634499' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001552  Lock_time: 0.001092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443939;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  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=1625443939;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:18.637446' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443940;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001074  Lock_time: 0.000914  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443940;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:19.635095' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000840  Lock_time: 0.000671  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443941;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:20.635525' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2443  Schema:   QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443941;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2443  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443941;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:12:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001231  Lock_time: 0.001079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443942;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:21.635509' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443943;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443943;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:12:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443944;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:23.637758' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2445  Schema:   QC_hit: No
# Query_time: 0.000690  Lock_time: 0.000624  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443944;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2445  Schema:   QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443944;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:12:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443945;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443945;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:24.634878' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443946;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:25.635925' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443946;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:25.635512' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001288  Lock_time: 0.001118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443947;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000433  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443947;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:26.634485' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001156  Lock_time: 0.001026  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443948;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443948;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:27.634822' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443949;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:28.637852' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443949;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:28.637306' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443950;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443950;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:12:31
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443951;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:30.638164' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2448  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443951;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2448  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443951;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:12:32
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443952;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443952;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:31.635371' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:33
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443953;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:32.638002' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:34
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443954;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:33.634749' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2452  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443954;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2452  Schema:   QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443954;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:12:35
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001262  Lock_time: 0.000893  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443955;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:12:36
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443956;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443956;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:35.637127' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:37
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443957;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443957;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:36.637664' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:38
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443958;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:37.635229' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443958;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:37.635357' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:39
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443959;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:38.637494' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:40
# User@Host: so_user[so_user] @  [10.242.193.19]
# Thread_id: 1999  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000941  Lock_time: 0.000333  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443960;
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-07-05 00:12:40.032'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:12:40.032')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '3006f5b7-dd1b-11eb-a32b-1a4a60a7f0c6'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:12:40.032')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000742  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443960;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443960;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:39.634989' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:41
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443961;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:40.635157' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443961;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:40.635777' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2455  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443961;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2455  Schema:   QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443961;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:12:42
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443962;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:41.634866' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:43
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443963;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:42.635245' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:44
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001836  Lock_time: 0.001303  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443964;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000660  Lock_time: 0.000537  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443964;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2457  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443964;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2457  Schema:   QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443964;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:12:45
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000303  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443965;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:44.635325' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:46
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000904  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443966;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443966;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:47
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443967;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:46.635308' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:48
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443968;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:47.637525' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:49
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443969;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443969;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:12:50
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  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=1625443970;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:49.634819' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:51
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000454  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443971;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:50.634737' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2459  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443971;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2459  Schema:   QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443971;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:12:52
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443972;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:51.634938' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:53
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001842  Lock_time: 0.001001  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443973;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443973;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:52.636048' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:54
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000689  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443974;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443974;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:53.639144' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2461  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443974;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2461  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443974;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:12:55
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443975;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443975;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:54.63504' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:56
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443976;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:55.637427' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443976;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:55.637803' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:57
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443977;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443977;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210705  0:12:58
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443978;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:57.635327' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:12:59
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443979;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  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=1625443979;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:58.637505' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:00
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001105  Lock_time: 0.000980  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443980;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443980;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:12:59.637586' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:01
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443981;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2464  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443981;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2464  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443981;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:13:02
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443982;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:01.635048' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:03
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443983;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443983;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:02.634954' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:04
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443984;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443984;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:03.634908' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2466  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443984;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2466  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443984;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:13:05
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443985;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:04.634843' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001268  Lock_time: 0.001078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443985;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:06
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000398  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443986;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:05.635053' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:07
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001149  Lock_time: 0.000923  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443987;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:06.635155' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001070  Lock_time: 0.000840  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443987;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:06.634935' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:08
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443988;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001417  Lock_time: 0.001173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443988;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:07.634895' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:09
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000774  Lock_time: 0.000541  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443989;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:08.634749' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:10
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000814  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443990;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443990;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:09.634769' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:11
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000616  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443991;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443991;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:10.635119' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2468  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=1625443991;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2468  Schema:   QC_hit: No
# Query_time: 0.000119  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443991;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:13:12
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443992;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443992;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:11.637745' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:13
# User@Host: so_user[so_user] @  [10.242.8.231]
# Thread_id: 2017  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000940  Lock_time: 0.000321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1625443993;
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-07-05 00:13:13.451'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-07-05 00:13:13.451')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '74e1264a-dd1b-11eb-bc3b-c2892e5fa9bf'
	   
	 ) 
	)
   
   
         
        )
       

      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-07-05 00:13:13.451')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1625443993;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:14
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443994;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2470  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625443994;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2470  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625443994;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:13:15
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443995;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:14.634741' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443995;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:14.635566' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:16
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443996;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:15.637562' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:17
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001162  Lock_time: 0.001044  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443997;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000339  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443997;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:16.637248' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:18
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443998;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:17.634818' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:19
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625443999;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:18.635311' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:20
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444000;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444000;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:19.637741' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:21
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444001;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:20.634837' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444001;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:20.635336' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2474  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625444001;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2474  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625444001;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210705  0:13:22
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444002;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:21.637497' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444002;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:21.637407' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:23
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444003;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:22.635273' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:24
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000827  Lock_time: 0.000696  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444004;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000507  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444004;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:23.6354' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2476  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1625444004;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2476  Schema:   QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1625444004;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210705  0:13:25
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444005;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:24.637723' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:26
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444006;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444006;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:25.634614' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:27
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444007;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444007;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:26.636279' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:28
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000363  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444008;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:29
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000696  Lock_time: 0.000338  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444009;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:28.637537' order by MODIFIED_DATE ASC limit 1;
# Time: 210705  0:13:30
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2072  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444010;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.193.23]
# Thread_id: 2073  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1625444010;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-07-05 00:13:29.634534' order by MODIFIED_DATE ASC limit 1;